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

   `JavaLookup.lookup` throws `IllegalArgumentException(key)` for an unknown 
key (`JavaLookup.java:112-113`). The other lookups return null.
   
   `StrSubstitutor` catches it, so `${java:foo}` stays literal and logging 
continues, but the `Interpolator` fallback to the default lookup is skipped, 
and every evaluation logs "Resolver failed to lookup java:foo" to the status 
logger.
   
   Fix: return null from the `default` branch.


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

  • [I] `JavaLookup` throws `Ill... ramanathan1504 (via GitHub) via notifications

Reply via email to