-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlog4j2.xml
75 lines (57 loc) · 2.29 KB
/
log4j2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<Configuration monitorInterval="30">
<Properties>
<Property name="tdm.log.dir">${env:TDM_HOME}/logs</Property>
</Properties>
<Appenders>
<RollingFile name="tdmLogger" fileName="${tdm.log.dir}/tdm.log" filePattern="${tdm.log.dir}/tdm.%i.log">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSS Z} %-5p - %c - %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile name="tdmDetailLogger" fileName="${tdm.log.dir}/tdmDetail.log" filePattern="${tdm.log.dir}/tdmDetail.%i.log">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSS Z} %-5p - %c - %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<Console name="consoleLogger" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSS Z} %-5p - %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="thredds.tdm" level="info" additivity="false">
<appender-ref ref="tdmLogger"/>
</Logger>
<Logger name="tdmDetail" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="ucar.nc2.grib.collection" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="ucar.nc2.grib" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="ucar.nc2.util.net" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="org.quartz" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="thredds.inventory" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="thredds.featurecollection.CollectionUpdater" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Logger name="org.apache.http" level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Logger>
<Root level="info" additivity="false">
<appender-ref ref="tdmDetailLogger"/>
</Root>
</Loggers>
</Configuration>