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

Improved log4j2 configuration #629

Merged
merged 1 commit into from Feb 9, 2024
Merged

Conversation

AyanF
Copy link
Contributor

@AyanF AyanF commented Feb 7, 2024

In the moqui-framework log4j2.xml configuration file, the Async Appender references the Console Appender and it is positioned before to the Console Appender, while the official log4j2 documentation states that -

The AsyncAppender should be configured after the appenders it references to allow it to shut down properly.

Reference - https://logging.apache.org/log4j/log4j-2.3.1/manual/appenders.html#AsyncAppender

Ideally the Async Appender should be placed after all the other Appenders.

@jonesde jonesde merged commit 5cd501f into moqui:master Feb 9, 2024
1 check passed
@jonesde
Copy link
Member

jonesde commented Feb 9, 2024

Looks good, thank you, merged.

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

Successfully merging this pull request may close these issues.

None yet

2 participants