chia7712 commented on issue #2281:
URL: 
https://github.com/apache/logging-log4j2/issues/2281#issuecomment-2561596237

   > The main difference between the 
[core.Logger#setLevel](https://logging.apache.org/log4j/2.x/javadoc/log4j-core/org/apache/logging/log4j/core/Logger.html#setLevel(org.apache.logging.log4j.Level))
 method and 
[Configurator#setLevel](https://logging.apache.org/log4j/2.x/javadoc/log4j-core/org/apache/logging/log4j/core/config/Configurator.html#setLevel(org.apache.logging.log4j.Logger,org.apache.logging.log4j.Level))
 is that the former changes only the level of a specific logger, while the 
latter also changes the level of child loggers.
   
   @ppkarwasz 
   Sorry for making noise on this closed issue. Out of curiosity, what is the 
difference between `Configurator#setLevel` and `Configurator.setAllLevels` - it 
seems both of they can change the level of child loggers.


-- 
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...@logging.apache.org

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

Reply via email to