Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Log4j2's log4j-spring-boot module and its spring lookup as an alternative to our Logback <springProperty> extension #26021

Open
wilkinsona opened this issue Apr 12, 2021 · 0 comments
Labels
status: on-hold We can't start working on this issue yet type: documentation A documentation update
Milestone

Comments

@wilkinsona
Copy link
Member

wilkinsona commented Apr 12, 2021

Log4j 2.14 introduced a new log4j-spring-boot module. It provides a lookup plugin so that properties in the environment can be referenced from the logging configuration. See this comment for @rgoers for some concrete examples and also its section in the Log4j lookups documentation.

I think it would be good to mention this in the docs, perhaps by moving this section up one level so that it's no longer Logback-specific and then adding Logback and Log4j2 subsections to it.

There's a circular dependency between the two projects at the moment. I think that's worth discussing to check that we're comfortable with it.

@wilkinsona wilkinsona added the for: team-meeting An issue we'd like to discuss as a team to make progress label Apr 12, 2021
@philwebb philwebb added status: on-hold We can't start working on this issue yet type: documentation A documentation update and removed for: team-meeting An issue we'd like to discuss as a team to make progress labels Apr 12, 2021
@philwebb philwebb added this to the 2.x milestone Apr 12, 2021
@philwebb philwebb modified the milestones: 2.x, 3.x Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: on-hold We can't start working on this issue yet type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

2 participants