Skip to content

Commit

Permalink
[fix] add request log to configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Feb 16, 2023
1 parent 95c9f75 commit a9a25c9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion exist-distribution/src/main/config/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,17 @@
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="exist.core"/>
</Logger>


<!--
the requestlog was previously written into separate files
if you want to retain that you need to add a new appender
and change the AppenderRef to reference it here
-->
<Logger name="org.eclipse.jetty.server.RequestLog" additivity="false" level="info">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="exist.core"/><!-- request log is now written to exist.log -->
</Logger>

<Logger name="org.exist.jetty.StandaloneServer" additivity="false" level="trace">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="exist.core"/>
Expand Down

0 comments on commit a9a25c9

Please sign in to comment.