GitHub user ramanathan1504 added a comment to the discussion: Backport 
request/session keys of the Web Lookup (LOG4J2-2523, LOG4J2-2688) to 2.x

@NicolaIsotta thanks for this, and yes, please open the PR on `2.x`.

The only reason it stayed out of 2.x was the lambdas, and the keys are already 
in 3.x in `logging-log4j-jakarta`. Our own `configuration.adoc` example already 
uses `$${web:request.remoteAddress}`, which 2.x does not have today, so this 
fixes that too.

Two asks: keep the key names exactly as in `logging-log4j-jakarta` so moving to 
3.x changes nothing for users, and could you send the cookie NPE fix to 
`logging-log4j-jakarta` as well? It has the same `Stream.of(getCookies())` 
there.

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/4486#discussioncomment-19703979

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to