Mercurial > dive4elements > river
annotate artifacts/doc/conf/log4j2.xml @ 9750:432934cda171 3.2.x
Fix logging setup
_ Silence message about missing SLF4J implementation
_ Route java.util.logging to Log4J (at least restlet is affected)
_ Let messages of additional loggers pass to the root loggers appender
(otherwise, they don't appear at all)
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 10 Oct 2022 15:29:44 +0200 |
parents | 7f8110eed9a3 |
children |
rev | line source |
---|---|
9726 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <Configuration> | |
3 <Appenders> | |
9730
7f8110eed9a3
Simplify server logging defaults
Tom Gottfried <tom@intevation.de>
parents:
9726
diff
changeset
|
4 <Console name="Console" target="SYSTEM_OUT"> |
9726 | 5 <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n"/> |
6 </Console> | |
7 </Appenders> | |
8 <Loggers> | |
9 <Root level="DEBUG"> | |
9730
7f8110eed9a3
Simplify server logging defaults
Tom Gottfried <tom@intevation.de>
parents:
9726
diff
changeset
|
10 <AppenderRef ref="Console"/> |
9726 | 11 </Root> |
9750 | 12 <Logger name="org.hibernate" level="WARN"/> |
13 <Logger name="net.sf.ehcache" level="WARN"/> | |
14 <Logger name="org.eclipse" level="WARN"/> | |
15 <Logger name="org.restlet" level="WARN"/> | |
9726 | 16 </Loggers> |
17 </Configuration> |