Vadim Pakhnushev created IGNITE-26097:
-----------------------------------------

             Summary: Duplicate events in the log inspector
                 Key: IGNITE-26097
                 URL: https://issues.apache.org/jira/browse/IGNITE-26097
             Project: Ignite
          Issue Type: Bug
            Reporter: Vadim Pakhnushev
            Assignee: Vadim Pakhnushev


When there is a separate additive logger configured, adding {{LogInspector}} on 
it results in duplicate log events.
This happens because {{addAppender}} method adds an appender to both the logger 
and to the root logger. But this should be done only if the logger is not 
additive.

While at it, clean up the {{config}} field in the {{stop}} method, so that the 
inspector could be reused.
Also the handler could be improved with the consumer for the event rather than 
simple runnable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to