ppkarwasz commented on a change in pull request #764:
URL: https://github.com/apache/logging-log4j2/pull/764#discussion_r810676890



##########
File path: 
log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
##########
@@ -103,6 +107,18 @@
             if (Boolean.parseBoolean(debugValue)) {
                 builder.setStatusLevel(Level.DEBUG);
             }
+            // if log4j.reset=true then reset hierarchy
+            final String reset = getLog4jValue("reset");
+            if (reset != null && OptionConverter.toBoolean(reset, false)) {

Review comment:
       Yes, you are right. I copy-pasted the "reset" part from the 
`PropertiesConfiguration`, without checking exactly what it does. I'll remove 
it for now (besides the `XmlConfiguration` does not recognize this option).




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to