Skip to content

Conversation

@dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Feb 7, 2026

Now, explicitly traverse parent logger hierarchies when iterating through explicitly configured loggers. This ensures parent loggers are always included in Log4j2Watcher.getAllLoggers(). It seems Log4j 2.25.3 (or one > 2.21.0) changed behavior in ctx.getLoggers().

https://issues.apache.org/jira/browse/SOLR-18107

Now, explicitly traverse parent logger hierarchies when iterating through explicitly configured loggers. This ensures parent loggers are always included in Log4j2Watcher.getAllLoggers().
It seems Log4j 2.25.3 (or one > 2.21.0) changed behavior in ctx.getLoggers().
@dsmiley
Copy link
Contributor Author

dsmiley commented Feb 7, 2026

CC @ppkarwasz

@dsmiley
Copy link
Contributor Author

dsmiley commented Feb 7, 2026

Disclaimer: I'm not 100% confident in the analysis... (done by Claude) but the code looks more robust now, in any event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant