ramanathan1504 opened a new pull request, #4070:
URL: https://github.com/apache/logging-log4j2/pull/4070
#2351
Fixed composite web initialization so `${web:servletContextName}` resolves
correctly when `log4jConfiguration` contains multiple files.
Before fix, composite mode (`log4j2-foo.xml,log4j2-bar.xml`) left the lookup
unresolved, while single-file mode worked.
After local patch (`2.26.0-SNAPSHOT`), composite output now matches the
expected servlet context name.
Single-file control behavior remains correct and unchanged.
Validated in `log4j2-web-test` on Tomcat 11 with `log4j-jakarta-web` using
`composite.jsp` and `single.jsp`.
Result: composite and single configuration paths now resolve servlet context
consistently.
--
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]