forked from mgangl/tds-mur-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j2.xml
213 lines (164 loc) · 7.39 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<?xml version="1.0" encoding="UTF-8"?>
<configuration monitorInterval="30">
<properties>
<property name="tds.content.root.path">../content</property>
<property name="tds.log.dir">${sys:tds.content.root.path}/thredds/logs</property>
</properties>
<Appenders>
<File name="serverStartup" fileName="${tds.log.dir}/serverStartup.log" append="false">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%10r][%8X{ID}] %-5p %c: %m%n"/>
</File>
<File name="catalogInit" fileName="${tds.log.dir}/catalogInit.log" append="false">
<PatternLayout pattern="%m%n"/>
</File>
<File name="httpout" fileName="${tds.log.dir}/httpout.log" append="false">
<PatternLayout pattern="%d %c: %m%n"/>
</File>
<RollingFile name="fcScan" fileName="${tds.log.dir}/featureCollection.log" filePattern="${tds.log.dir}/featureCollection.%i.log">
<PatternLayout pattern="[%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}] %-5p %c: %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile name="fmrc" fileName="${tds.log.dir}/fmrc.log" filePattern="${tds.log.dir}/fmrc.%i.log">
<PatternLayout pattern="[%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}] %-5p %c: %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<!-- RollingFile name="fc" fileName="${tds.log.dir}/fc.$${map:collectionName}.log" filePattern="${tds.log.dir}/fc.$${map:collectionName}.%i.log">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSS Z} %-5p - %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile -->
<RollingFile name="threddsServlet" fileName="${tds.log.dir}/threddsServlet.log" filePattern="${tds.log.dir}/threddsServlet.%d{yyyy-MM-dd-HH}.log" immediateFlush="false">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSS Z} [%10r][%8X{ID}] %-5p - %c - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
</RollingFile>
<RollingFile name="cacheLog" fileName="${tds.log.dir}/cache.log" filePattern="${tds.log.dir}/cache.%i.log">
<PatternLayout pattern="[%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}] %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="3"/>
</RollingFile>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%10r][%8X{ID}] %-5p %c: %m%n"/>
</Console>
</Appenders>
<loggers>
<logger name="org.thymeleaf" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<logger name="org.hibernate.validator" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<logger name="serverStartup" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<logger name="thredds.core.ConfigCatalogInitialization" level="debug" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="thredds.server.catalog.tracker" level="info" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="thredds.featurecollection.FeatureCollectionConfig" level="info" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="ucar.nc2.thredds.MetadataExtractorAcdd" level="info" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="catalogInit" level="info" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="thredds.server.config.TdsContext.catalogInit" level="info" additivity="false">
<appender-ref ref="catalogInit"/>
</logger>
<logger name="cacheLogger" level="info" additivity="false">
<appender-ref ref="cacheLog"/>
</logger>
<logger name="thredds.filesystem.CacheManager" level="info" additivity="false">
<appender-ref ref="cacheLog"/>
</logger>
<!-- fmrc -->
<logger name="ucar.nc2.ft.fmrc" level="info" additivity="false">
<appender-ref ref="fmrc"/>
</logger>
<logger name="thredds.featurecollection" level="info" additivity="false">
<appender-ref ref="fmrc"/>
</logger>
<logger name="thredds.inventory.CollectionManagerAbstract" level="info" additivity="false">
<appender-ref ref="fmrc"/>
</logger>
<logger name="thredds.featurecollection.cache.GridInventoryCacheChronicle" level="info" additivity="false">
<appender-ref ref="fmrc"/>
</logger>
<!-- featureCollection -->
<logger name="featureCollectionScan" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="thredds.inventory.MFileCollectionManager" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="thredds.featurecollection.CollectionUpdater" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="thredds.server.admin.AdminCollectionController" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="ucar.nc2.grib.grib1.builder.Grib1CollectionBuilder" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="ucar.nc2.grib.grib2.builder.Grib2CollectionBuilder" level="info" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<logger name="org.quartz" level="warn" additivity="false">
<appender-ref ref="fcScan"/>
</logger>
<!-- WMS stuff has routine higher level of messages -->
<logger name="uk.ac.rdg.resc.ncwms" level="warn" additivity="false">
<appender-ref ref="threddsServlet"/>
</logger>
<logger name="thredds.server.wms.responses" level="warn" additivity="false">
<appender-ref ref="threddsServlet"/>
</logger>
<logger name="thredds.server.metadata" level="warn" additivity="false">
<appender-ref ref="threddsServlet"/>
</logger>
<!-- log issues related to loading custom color palettes -->
<logger name="uk.ac.rdg.resc.edal.graphics.utils.ColourPalette" level="warn" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<!-- spring -->
<logger name="ucar" level="debug" additivity="false">
<appender-ref ref="threddsServlet"/>
</logger>
<logger name="org.springframework.http" level="info" additivity="false">
<appender-ref ref="threddsServlet"/>
</logger>
<logger name="org.springframework.beans.factory" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<logger name="org.springframework.web" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<logger name="org.springframework" level="info" additivity="false">
<appender-ref ref="serverStartup"/>
</logger>
<!-- =========================================== -->
<logger name="org.apache.http.impl.conn" level="info" additivity="false">
<appender-ref ref="httpout"/>
</logger>
<!-- All normal logging messages go to threddsServlet.log -->
<root level="info" additivity="false">
<appender-ref ref="threddsServlet"/>
</root>
</loggers>
</configuration>