jalynxing opened a new issue, #1692:
URL: https://github.com/apache/logging-log4j2/issues/1692

   `JsonTemplateLayout` does not implements `LocationAware` and override 
`requiresLocation`, making `LoggerConfig::requiresLocation` always return false 
and `AbstractLogger::getLocation(fqcn)` return null. This results in the 
location not being passed to its underlying appenders when needed.
   Instead, `JsonTemplateLayout::requiresLocation` should return true when any 
of its appenders requires a location.


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