valepakh commented on code in PR #6355:
URL: https://github.com/apache/ignite-3/pull/6355#discussion_r2250755911


##########
modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/log4j2/LogInspector.java:
##########
@@ -313,11 +314,15 @@ public void stop() {
         appender.stop();
 
         removeAppender(appender, config);
+
+        config = null;
     }
 
     private static synchronized void addAppender(Appender appender, 
Configuration config) {
         for (LoggerConfig loggerConfig : config.getLoggers().values()) {
-            loggerConfig.addAppender(appender, null, null);
+            if (!loggerConfig.isAdditive()) {
+                loggerConfig.addAppender(appender, null, null);
+            }

Review Comment:
   This is incorrect



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to