Skip to content

Commit

Permalink
#625 Added log4j2.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Sep 10, 2024
1 parent 32bad6e commit 9739c24
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions common/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO" name="ThUniBib-Log">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%highlight{%d{ISO8601} [%t (%tid)] %-5p %X %c{1}: %m%n%ex}{INFO=black}"/>
</Console>
</Appenders>

<Loggers>
<Root level="INFO">
<AppenderRef ref="Console"/>
</Root>

<Logger name="org.hibernate" level="error"/>
<Logger name="org.mycore.frontend.editor.validation" level="info"/>
<Logger name="org.mycore.services.fieldquery.MCRSearcher" level="info"/>
<Logger name="org.mycore.common.content.transformer.MCRXSLTransformer" level="warn"/>
</Loggers>
</Configuration>

0 comments on commit 9739c24

Please sign in to comment.