-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
logging.include-application-name has no effect when using log4j2 #38618
Comments
logging.include-application-name
has no effect when using log4j2 with Spring Boot 3.2.0
Thanks for the report and the reproducer. This looks like a bug. |
When setting the |
Hi @mhalbritter , I would appreciate it if you could assign this bug to me, allowing me to work on resolving it. Thanks, |
When |
Hello, I'd like to correct this problem, my PR is ready, please tell me if I have the right to propose it. Thanks |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@ilies-bel A pull request would be most welcome, please submit it at your earliest convenience. |
Done, |
Closing in favor of PR #38847. Thanks @ilies-bel! |
As the title says, when creating a fresh Spring Boot 3.2.0 project the console logs generated by Logback look like this by default
After switching from Logback to Log4j2 the console logs look like this
Setting the new
logging.include-application-name
property tofalse
does not make the${sys:LOGGED_APPLICATION_NAME}
disappear from the logged console output.Here is a small reproducer: demo-reproducer.zip that can be run with
mvn spring-boot:run
The text was updated successfully, but these errors were encountered: