annotate backend/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 |
0a5239a1e46e |
children |
|
rev |
line source |
9726
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <Configuration> |
|
3 <Appenders> |
|
4 <RollingFile |
|
5 name="RollingFile" |
|
6 fileName="import.log" |
|
7 filePattern="import.log.%i"> |
|
8 <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c - %m%n"/> |
|
9 <SizeBasedTriggeringPolicy size="100000 KB"/> |
|
10 <DefaultRolloverStrategy max="10"/> |
|
11 </RollingFile> |
|
12 </Appenders> |
|
13 <Loggers> |
|
14 <Root level="DEBUG"> |
|
15 <AppenderRef ref="RollingFile"/> |
|
16 </Root> |
|
17 </Loggers> |
|
18 </Configuration> |