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

Fix log4j2 warning / Remove package scanning #3347

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

litetex
Copy link
Contributor

@litetex litetex commented Mar 3, 2025

This should suppress this warning from showing up during boot:

The use of package scanning to locate Log4j plugins is deprecated.
Please remove the `packages` attribute from your configuration file.
See https://logging.apache.org/log4j/2.x/faq.html#package-scanning for details.

This should suppress this error from showing up during boot:
```
The use of package scanning to locate Log4j plugins is deprecated.
Please remove the `packages` attribute from your configuration file.
See https://logging.apache.org/log4j/2.x/faq.html#package-scanning for details.
```
Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

You might have already noticed, but this copy of the file is only used when ENABLE_ROLLING_LOGS is true.

@itzg itzg merged commit 73e402b into itzg:master Mar 3, 2025
5 checks passed
@litetex litetex deleted the fix-log4j2-warning branch March 3, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants