Skip to content

Commit

Permalink
Merge pull request kitodo#5972 from slub/change_log_level_kitodorestc…
Browse files Browse the repository at this point in the history
…lient

Change log level to "info" for KitodoRestClient class on automatic test execution
  • Loading branch information
solth authored Mar 6, 2024
2 parents e8e1aea + b724042 commit 023d949
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Kitodo/src/test/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
<Logger name="org.kitodo" level="debug" additivity="false">
<AppenderRef ref="STDOUT"/>
</Logger>
<!-- KitodoRestClient log level set to info to reduce log output on automatic execution -->
<!-- in case of errors with elastic search set it to debug or trace -->
<Logger name="org.kitodo.data.elasticsearch.KitodoRestClient" level="info" additivity="false">
<AppenderRef ref="STDOUT"/>
</Logger>
<Root level="error">
<AppenderRef ref="STDOUT"/>
</Root>
Expand Down
5 changes: 5 additions & 0 deletions Kitodo/src/test/resources/selenium/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
<Logger name="org.kitodo" level="debug" additivity="false">
<AppenderRef ref="STDOUT"/>
</Logger>
<!-- KitodoRestClient log level set to info to reduce log output on automatic execution -->
<!-- in case of errors with elastic search set it to debug or trace -->
<Logger name="org.kitodo.data.elasticsearch.KitodoRestClient" level="info" additivity="false">
<AppenderRef ref="STDOUT"/>
</Logger>
<Root level="error">
<AppenderRef ref="STDOUT"/>
</Root>
Expand Down

0 comments on commit 023d949

Please sign in to comment.