[jira] [Created] (IGNITE-14125) GridClusterStateProcessor: Logging at INFO level without checking if INFO level is enabled

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

[jira] [Created] (IGNITE-14125) GridClusterStateProcessor: Logging at INFO level without checking if INFO level is enabled

Anton Vinogradov (Jira)
Paolo Bazzi created IGNITE-14125:
------------------------------------

             Summary: GridClusterStateProcessor: Logging at INFO level without checking if INFO level is enabled
                 Key: IGNITE-14125
                 URL: https://issues.apache.org/jira/browse/IGNITE-14125
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.9.1
            Reporter: Paolo Bazzi


The following WARN log is printed to logfile when starting up the ignite instance:


Log: 2021-02-01 18:57:03,068 WARN  []
org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.warning(Slf4jLogger.java:127)
- Logging at INFO level without checking if INFO level is enabled: Cluster
state was changed from ACTIVE to ACTIVE - MDC[]

Origin:
org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor#onStateFinishMessage

-> Needs a check for log level before logging to info logger.

See  http://apache-ignite-users.70518.x6.nabble.com/Ignite-Startup-Warnings-td35344.html



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