Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.10.0
-
None
-
None
Description
According to link:
By default, location is not passed to the I/O thread by asynchronous loggers. If one of your layouts or custom filters needs location information, you need to set "includeLocation=true" in the configuration of all relevant loggers, including the root logger.
However, if I create logger with default configuration and '-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector' vm option 'includeLocation' defaults to 'true'. Is it expected behavior or glitch?