[jira] [Created] (IGNITE-13278) Forgotten logger isInfoEnabled check.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13278) Forgotten logger isInfoEnabled check.

Anton Vinogradov (Jira)
Stanilovsky Evgeny created IGNITE-13278:
-------------------------------------------

             Summary: Forgotten logger isInfoEnabled check.
                 Key: IGNITE-13278
                 URL: https://issues.apache.org/jira/browse/IGNITE-13278
             Project: Ignite
          Issue Type: Improvement
          Components: general
    Affects Versions: 2.8.1
            Reporter: Stanilovsky Evgeny
            Assignee: Stanilovsky Evgeny



In RO tests with enabled -ea we can obtain near assertion:
{code:java}
java.lang.AssertionError: Logging at INFO level without checking if INFO level is enabled: Cluster state was changed from ACTIVE to ACTIVE
        at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.info(GridTestLog4jLogger.java:481) ~[ignite-core-tests.jar]
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)