You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
vy
added a commit
that referenced
this issue
Aug 16, 2023
JsonTemplateLayout
does not implementsLocationAware
and overriderequiresLocation
, makingLoggerConfig::requiresLocation
always return false andAbstractLogger::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.The text was updated successfully, but these errors were encountered: