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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions framework/src/main/resources/log4j2.xml
Expand Up @@ -35,15 +35,15 @@ https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<MoquiLog4jAppender name="MoquiSubscribers"/>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %5p %12.12t %38.38c{1.9.1.}} %m%n"/>
</Console>
<Async name="AsyncLog">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="LogFile"/>
<AppenderRef ref="ErrorFile"/>
<AppenderRef ref="MoquiSubscribers"/>
</Async>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %5p %12.12t %38.38c{1.9.1.}} %m%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="org.apache" level="warn"/>
Expand Down