lukaszspyra opened a new pull request, #1592:
URL: https://github.com/apache/logging-log4j2/pull/1592

   Fix of #1501.
   
   1. 
[StatusLogger](https://github.com/apache/logging-log4j2/blob/2.x/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java)
 default level bumped from `ERROR` to `WARN` (used when no config active);
   2. 
[StatusConfiguration](https://github.com/apache/logging-log4j2/blob/2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/config/status/StatusConfiguration.java)
 default level bumped from `ERROR` to `WARN`(used as default value). It's 
method  [withStatus(String 
status)](https://github.com/apache/logging-log4j2/blob/48afa1f5ea95fd4576ddf1763482256858aa5d6a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/status/StatusConfiguration.java#L132)
 modified to default to `WARN` (used when `status` string value found in config 
file is invalid);
   3. 
[AbstractConfiguration](https://github.com/apache/logging-log4j2/blob/2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java),
 method `getDefaultStatus()` modified to default to `WARN`, as it is called in 
a.o. 
[JsonConfiguration](https://github.com/apache/logging-log4j2/blob/48afa1f5ea95fd4576ddf1763482256858aa5d6a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/json/JsonConfiguration.java#L71C25-L71C25)
 and does not change if there is no `status` key in config file.
   


-- 
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