Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3, 2.4, 2.5, 2.6, 2.7, 2.8
-
None
Description
When configuration fails because no Log4j 2 configuration file is found, the following message is logged to the console at ERROR level:
No log4j2 configuration file found. Using default configuration: logging only errors to the console.
We should be able to improve this. One idea is to add this:
No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
Another idea is to dump the contents of the StatusLogger ring buffer to the console.
Attachments
Attachments
Issue Links
- relates to
-
LOG4J2-1431 Simplify log4j system property naming scheme
- Resolved