blob: 243acd2955019f2cc662bf0cea6387fa8e11c02a [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001<?xml version="1.0"?>
2<!--
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01003{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004 ============LICENSE_START=======================================================
5 org.onap.aai
6 ================================================================================
7 Copyright 2019 AT&T Intellectual Property. All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010021*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010022-->
23<configuration scan="true" scanPeriod="60 seconds" debug="false">
24 <statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
25 <property resource="application.properties"/>
26 <property name="namespace" value="graph-admin"/>
27 <property name="AJSC_HOME" value="${AJSC_HOME:-.}"/>
28 <property name="logDirectory" value="${AJSC_HOME}/logs"/>
29 <!-- Old patterns
guillaume.lambert30ec3902021-09-14 12:32:24 +020030 <property name="eelfLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%ecompStatusCode|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/>
31 <property name="eelfAuditLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%ecompStatusCode|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n|\r\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/>
32 <property name="eelfMetricLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%ecompStatusCode|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{targetVirtualEntity}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/>
33 <property name="eelfErrorLogPattern" value="%ecompStartTime|%X{requestId}|%-10t|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%ecompErrorCategory|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n|\r\n', '^'}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/>
34 <property name="eelfErrorLogPattern" value="%ecompStartTime|%X{requestId}|%-10t|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%ecompErrorCategory|%ecompResponseCode|%ecompResponseDescription|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +010035 <property name="eelfTransLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%ecompStatusCode|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{partnerName}:%m%n"/>
guillaume.lambert30ec3902021-09-14 12:32:24 +020036 -->
Sylvain Desbureaux70070412020-11-09 21:58:48 +010037 <property name="p_tim" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}"/>
38 <property name="p_lvl" value="%level"/>
39 <property name="p_log" value="%logger"/>
40 <property name="p_mdc" value="%replace(%replace(%mdc){'\t','\\\\t'}){'\n', '\\\\n'}"/>
41 <property name="p_msg" value="%replace(%replace(%msg){'\t', '\\\\t'}){'\n','\\\\n'}"/>
42 <property name="p_exc" value="%replace(%replace(%rootException){'\t', '\\\\t'}){'\n','\\\\n'}"/>
43 <property name="p_mak" value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}"/>
44 <property name="p_thr" value="%thread"/>
45 <property name="pattern" value="%nopexception${p_tim}\t${p_thr}\t${p_lvl}\t${p_log}\t${p_mdc}\t${p_msg}\t${p_exc}\t${p_mak}\t%n"/>
46 <!-- Patterns from onap demo -->
47 <property name="errorPattern" value="%X{LogTimestamp}|%X{RequestID}|%thread|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%.-5level|%X{ErrorCode}|%X{ErrorDesc}|%msg%n"/>
48 <property name="debugPattern" value="%X{LogTimestamp}|%X{RequestID}|%msg\t${p_mdc}\t${p_msg}\t${p_exc}\t${p_mak}\t|^%n"/>
49 <property name="auditPattern" value="%X{EntryTimestamp}|%X{LogTimestamp}|%X{RequestID}|%X{ServiceInstanceID}|%thread||%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDesc}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ElapsedTime}|%X{ServerFQDN}|%X{RemoteHost}||||${p_mak}|${p_mdc}|||%msg%n"/>
50 <property name="metricPattern" value="%X{InvokeTimestamp}|%X{LogTimestamp}|%X{RequestID}|%X{ServiceInstanceID}|%thread||%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDesc}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ElapsedTime}|%X{ServerFQDN}|%X{RemoteHost}||||%X{TargetVirtualEntity}|${p_mak}|${p_mdc}|||%msg%n"/>
51 <property name="transLogPattern" value="%X{LogTimestamp}|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{RequestID}|%X{ServiceInstanceID}|%-10t|%X{ServerFQDN}|%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%replace(%replace(%X{ResponseDesc}){'\\|', '!'}){'\r|\n', '^'}|%X{InstanceUUID}|%level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ElapsedTime}|%X{ServerFQDN}|%X{clientIpAddress}||%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{PartnerName}:%m%n"/>
52 <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter"/>
53 <conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"/>
54 <conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"/>
55 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
56 <encoder>
57 <pattern>
guillaume.lambert30ec3902021-09-14 12:32:24 +020058 %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}
59 </pattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +010060 </encoder>
61 </appender>
62 <appender name="SANE" class="ch.qos.logback.core.rolling.RollingFileAppender">
63 <file>${logDirectory}/rest/sane.log</file>
64 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
65 <fileNamePattern>${logDirectory}/rest/sane.log.%d{yyyy-MM-dd}</fileNamePattern>
66 </rollingPolicy>
67 <encoder>
guillaume.lambert30ec3902021-09-14 12:32:24 +020068 <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n</pattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +010069 </encoder>
70 </appender>
71 <appender name="asyncSANE" class="ch.qos.logback.classic.AsyncAppender">
72 <queueSize>1000</queueSize>
73 <includeCallerData>true</includeCallerData>
74 <appender-ref ref="SANE"/>
75 </appender>
76 <appender name="METRIC" class="ch.qos.logback.core.rolling.RollingFileAppender">
77 <file>${logDirectory}/rest/metrics.log</file>
78 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +020079 <fileNamePattern>${logDirectory}/rest/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +010080 </rollingPolicy>
81 <encoder>
82 <pattern>${metricPattern}</pattern>
83 </encoder>
84 </appender>
85 <appender name="asyncMETRIC" class="ch.qos.logback.classic.AsyncAppender">
86 <queueSize>1000</queueSize>
87 <includeCallerData>true</includeCallerData>
88 <appender-ref ref="METRIC"/>
89 </appender>
90 <appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
91 <filter class="ch.qos.logback.classic.filter.LevelFilter">
92 <level>DEBUG</level>
93 <onMatch>ACCEPT</onMatch>
94 <onMismatch>DENY</onMismatch>
95 </filter>
96 <file>${logDirectory}/rest/debug.log</file>
97 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
98 <fileNamePattern>${logDirectory}/rest/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
99 </rollingPolicy>
100 <encoder>
101 <pattern>${debugPattern}</pattern>
102 </encoder>
103 </appender>
104 <appender name="asyncDEBUG" class="ch.qos.logback.classic.AsyncAppender">
105 <queueSize>1000</queueSize>
106 <appender-ref ref="DEBUG"/>
107 <includeCallerData>true</includeCallerData>
108 </appender>
109 <appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
110 <file>${logDirectory}/rest/error.log</file>
111 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
112 <fileNamePattern>${logDirectory}/rest/error.log.%d{yyyy-MM-dd}</fileNamePattern>
113 </rollingPolicy>
114 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
115 <level>WARN</level>
116 </filter>
117 <encoder>
118 <pattern>${errorPattern}</pattern>
119 </encoder>
120 </appender>
121 <appender name="asyncERROR" class="ch.qos.logback.classic.AsyncAppender">
122 <queueSize>1000</queueSize>
123 <appender-ref ref="ERROR"/>
124 </appender>
125 <appender name="AUDIT" class="ch.qos.logback.core.rolling.RollingFileAppender">
126 <file>${logDirectory}/rest/audit.log</file>
127 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
128 <fileNamePattern>${logDirectory}/rest/audit.log.%d{yyyy-MM-dd}
guillaume.lambert30ec3902021-09-14 12:32:24 +0200129 </fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100130 </rollingPolicy>
131 <encoder>
132 <pattern>${auditPattern}</pattern>
133 </encoder>
134 </appender>
135 <appender name="asyncAUDIT" class="ch.qos.logback.classic.AsyncAppender">
136 <queueSize>1000</queueSize>
137 <includeCallerData>true</includeCallerData>
138 <appender-ref ref="AUDIT"/>
139 </appender>
140 <appender name="translog" class="ch.qos.logback.core.rolling.RollingFileAppender">
141 <filter class="ch.qos.logback.classic.filter.LevelFilter">
142 <level>DEBUG</level>
143 <onMatch>ACCEPT</onMatch>
144 <onMismatch>DENY</onMismatch>
145 </filter>
146 <file>${logDirectory}/rest/translog.log</file>
147 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200148 <fileNamePattern>${logDirectory}/rest/translog.log.%d{yyyy-MM-dd}</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100149 </rollingPolicy>
150 <encoder>
151 <pattern>${transLogPattern}</pattern>
152 </encoder>
153 </appender>
154 <appender name="asynctranslog" class="ch.qos.logback.classic.AsyncAppender">
155 <queueSize>1000</queueSize>
156 <includeCallerData>true</includeCallerData>
157 <appender-ref ref="translog"/>
158 </appender>
159 <appender name="dmaapAAIEventConsumer" class="ch.qos.logback.core.rolling.RollingFileAppender">
160 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
161 <level>WARN</level>
162 </filter>
163 <File>${logDirectory}/dmaapAAIEventConsumer/error.log</File>
164 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200165 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/error.log.%d{yyyy-MM-dd}</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100166 </rollingPolicy>
167 <encoder>
168 <pattern>${"errorPattern"}</pattern>
169 </encoder>
170 </appender>
171 <appender name="dmaapAAIEventConsumerInfo" class="ch.qos.logback.core.rolling.RollingFileAppender">
172 <filter class="ch.qos.logback.classic.filter.LevelFilter">
173 <level>INFO</level>
174 <onMatch>ACCEPT</onMatch>
175 <onMismatch>DENY</onMismatch>
176 </filter>
177 <File>${logDirectory}/dmaapAAIEventConsumer/dmaap-transaction.log</File>
178 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
179 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/dmaap-transaction.log.%d{yyyy-MM-dd}
180 </fileNamePattern>
181 </rollingPolicy>
182 <encoder>
183 <pattern>${debugPattern}</pattern>
184 </encoder>
185 </appender>
186 <appender name="dmaapAAIEventConsumerDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
187 <filter class="ch.qos.logback.classic.filter.LevelFilter">
188 <level>DEBUG</level>
189 <onMatch>ACCEPT</onMatch>
190 <onMismatch>DENY</onMismatch>
191 </filter>
192 <File>${logDirectory}/dmaapAAIEventConsumer/debug.log</File>
193 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200194 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100195 </rollingPolicy>
196 <encoder>
197 <pattern>${debugPattern}</pattern>
198 </encoder>
199 </appender>
200 <appender name="dmaapAAIEventConsumerMetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
201 <filter class="ch.qos.logback.classic.filter.LevelFilter">
202 <level>INFO</level>
203 <onMatch>ACCEPT</onMatch>
204 <onMismatch>DENY</onMismatch>
205 </filter>
206 <File>${logDirectory}/dmaapAAIEventConsumer/metrics.log</File>
207 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
208 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/metrics.log.%d{yyyy-MM-dd}
guillaume.lambert30ec3902021-09-14 12:32:24 +0200209 </fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100210 </rollingPolicy>
211 <encoder>
212 <pattern>${metricPattern}</pattern>
213 </encoder>
214 </appender>
215 <appender name="external" class="ch.qos.logback.core.rolling.RollingFileAppender">
216 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
217 <level>WARN</level>
218 </filter>
219 <file>${logDirectory}/external/external.log</file>
220 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
221 <fileNamePattern>${logDirectory}/external/external.log.%d{yyyy-MM-dd}
guillaume.lambert30ec3902021-09-14 12:32:24 +0200222 </fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100223 </rollingPolicy>
224 <encoder>
225 <pattern>${debugPattern}</pattern>
226 </encoder>
227 </appender>
228 <!-- DataGrooming logs started -->
229 <appender name="dataGrooming" class="ch.qos.logback.core.rolling.RollingFileAppender">
230 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
231 <level>WARN</level>
232 </filter>
233 <File>${logDirectory}/dataGrooming/error.log</File>
234 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
235 <fileNamePattern>${logDirectory}/dataGrooming/error.log.%d{yyyy-MM-dd}</fileNamePattern>
236 </rollingPolicy>
237 <encoder>
238 <pattern>${errorPattern}</pattern>
239 </encoder>
240 </appender>
241 <appender name="dataGroomingdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
242 <filter class="ch.qos.logback.classic.filter.LevelFilter">
243 <level>DEBUG</level>
244 <onMatch>ACCEPT</onMatch>
245 <onMismatch>DENY</onMismatch>
246 </filter>
247 <File>${logDirectory}/dataGrooming/debug.log</File>
248 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
249 <fileNamePattern>${logDirectory}/dataGrooming/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
250 </rollingPolicy>
251 <encoder>
252 <pattern>${debugPattern}</pattern>
253 </encoder>
254 </appender>
255 <appender name="dataGroomingaudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
256 <filter class="ch.qos.logback.classic.filter.LevelFilter">
257 <level>INFO</level>
258 <onMatch>ACCEPT</onMatch>
259 <onMismatch>DENY</onMismatch>
260 </filter>
261 <File>${logDirectory}/dataGrooming/audit.log</File>
262 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
263 <fileNamePattern>${logDirectory}/dataGrooming/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
264 </rollingPolicy>
265 <encoder>
266 <pattern>${auditPattern}</pattern>
267 </encoder>
268 </appender>
269 <!-- DataGrooming logs ended -->
270 <!-- DataSnapshot logs started -->
271 <appender name="dataSnapshot" class="ch.qos.logback.core.rolling.RollingFileAppender">
272 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
273 <level>WARN</level>
274 </filter>
275 <File>${logDirectory}/dataSnapshot/error.log</File>
276 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
277 <fileNamePattern>${logDirectory}/dataSnapshot/error.log.%d{yyyy-MM-dd}</fileNamePattern>
278 </rollingPolicy>
279 <encoder>
280 <pattern>${errorPattern}</pattern>
281 </encoder>
282 </appender>
283 <appender name="dataSnapshotdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
284 <filter class="ch.qos.logback.classic.filter.LevelFilter">
285 <level>DEBUG</level>
286 <onMatch>ACCEPT</onMatch>
287 <onMismatch>DENY</onMismatch>
288 </filter>
289 <File>${logDirectory}/dataSnapshot/debug.log</File>
290 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
291 <fileNamePattern>${logDirectory}/dataSnapshot/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
292 </rollingPolicy>
293 <encoder>
294 <pattern>${debugPattern}</pattern>
295 </encoder>
296 </appender>
297 <appender name="dataSnapshotaudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
298 <filter class="ch.qos.logback.classic.filter.LevelFilter">
299 <level>INFO</level>
300 <onMatch>ACCEPT</onMatch>
301 <onMismatch>DENY</onMismatch>
302 </filter>
303 <File>${logDirectory}/dataSnapshot/audit.log</File>
304 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
305 <fileNamePattern>${logDirectory}/dataSnapshot/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
306 </rollingPolicy>
307 <encoder>
308 <pattern>${auditPattern}</pattern>
309 </encoder>
310 </appender>
311 <!-- DataSnapshot logs ended -->
312 <!-- HistoryTruncate logs started -->
313 <appender name="historyTruncate" class="ch.qos.logback.core.rolling.RollingFileAppender">
314 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
315 <level>WARN</level>
316 </filter>
317 <File>${logDirectory}/historyTruncate/error.log</File>
318 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
319 <fileNamePattern>${logDirectory}/historyTruncate/error.log.%d{yyyy-MM-dd}</fileNamePattern>
320 </rollingPolicy>
321 <encoder>
322 <pattern>${errorPattern}</pattern>
323 </encoder>
324 </appender>
325 <appender name="historyTruncatedebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
326 <filter class="ch.qos.logback.classic.filter.LevelFilter">
327 <level>DEBUG</level>
328 <onMatch>ACCEPT</onMatch>
329 <onMismatch>DENY</onMismatch>
330 </filter>
331 <File>${logDirectory}/historyTruncate/debug.log</File>
332 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
333 <fileNamePattern>${logDirectory}/historyTruncate/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
334 </rollingPolicy>
335 <encoder>
336 <pattern>${debugPattern}</pattern>
337 </encoder>
338 </appender>
339 <appender name="historyTruncateaudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
340 <filter class="ch.qos.logback.classic.filter.LevelFilter">
341 <level>INFO</level>
342 <onMatch>ACCEPT</onMatch>
343 <onMismatch>DENY</onMismatch>
344 </filter>
345 <File>${logDirectory}/historyTruncate/audit.log</File>
346 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
347 <fileNamePattern>${logDirectory}/historyTruncate/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
348 </rollingPolicy>
349 <encoder>
350 <pattern>${auditPattern}</pattern>
351 </encoder>
352 </appender>
353 <!-- historyTruncate logs ended -->
354 <!-- CreateDBSchema logs started -->
355 <appender name="createDBSchema" class="ch.qos.logback.core.rolling.RollingFileAppender">
356 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
357 <level>WARN</level>
358 </filter>
359 <File>${logDirectory}/createDBSchema/error.log</File>
360 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
361 <fileNamePattern>${logDirectory}/createDBSchema/error.log.%d{yyyy-MM-dd}</fileNamePattern>
362 </rollingPolicy>
363 <encoder>
364 <pattern>${"errorPattern"}</pattern>
365 </encoder>
366 </appender>
367 <appender name="createDBSchemadebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
368 <filter class="ch.qos.logback.classic.filter.LevelFilter">
369 <level>DEBUG</level>
370 <onMatch>ACCEPT</onMatch>
371 <onMismatch>DENY</onMismatch>
372 </filter>
373 <File>${logDirectory}/createDBSchema/debug.log</File>
374 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
375 <fileNamePattern>${logDirectory}/createDBSchema/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
376 </rollingPolicy>
377 <encoder>
378 <pattern>${debugPattern}</pattern>
379 </encoder>
380 </appender>
381 <appender name="createDBSchemametric" class="ch.qos.logback.core.rolling.RollingFileAppender">
382 <filter class="ch.qos.logback.classic.filter.LevelFilter">
383 <level>INFO</level>
384 <onMatch>ACCEPT</onMatch>
385 <onMismatch>DENY</onMismatch>
386 </filter>
387 <File>${logDirectory}/createDBSchema/metrics.log</File>
388 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
389 <fileNamePattern>${logDirectory}/createDBSchema/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
390 </rollingPolicy>
391 <encoder>
392 <pattern>${metricPattern}</pattern>
393 </encoder>
394 </appender>
395 <!-- CreateDBSchema logs ended -->
396 <!-- DataCleanupTasks logs started -->
397 <appender name="dataCleanuperror" class="ch.qos.logback.core.rolling.RollingFileAppender">
398 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
399 <level>WARN</level>
400 </filter>
401 <File>${logDirectory}/misc/error.log</File>
402 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
403 <fileNamePattern>${logDirectory}/misc/error.log.%d{yyyy-MM-dd}</fileNamePattern>
404 </rollingPolicy>
405 <encoder>
406 <pattern>${"errorPattern"}</pattern>
407 </encoder>
408 </appender>
409 <appender name="dataCleanupdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
410 <filter class="ch.qos.logback.classic.filter.LevelFilter">
411 <level>DEBUG</level>
412 <onMatch>ACCEPT</onMatch>
413 <onMismatch>DENY</onMismatch>
414 </filter>
415 <File>${logDirectory}/misc/debug.log</File>
416 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
417 <fileNamePattern>${logDirectory}/misc/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
418 </rollingPolicy>
419 <encoder>
420 <pattern>${debugPattern}</pattern>
421 </encoder>
422 </appender>
423 <appender name="dataCleanupaudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
424 <filter class="ch.qos.logback.classic.filter.LevelFilter">
425 <level>INFO</level>
426 <onMatch>ACCEPT</onMatch>
427 <onMismatch>DENY</onMismatch>
428 </filter>
429 <File>${logDirectory}/misc/audit.log</File>
430 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
431 <fileNamePattern>${logDirectory}/misc/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
432 </rollingPolicy>
433 <encoder>
434 <pattern>${auditPattern}</pattern>
435 </encoder>
436 </appender>
437 <!-- DataCleanupTasks logs ended -->
438 <!-- dupeTool logs started -->
439 <appender name="dupeTooldebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
440 <filter class="ch.qos.logback.classic.filter.LevelFilter">
441 <level>DEBUG</level>
442 <onMatch>ACCEPT</onMatch>
443 <onMismatch>DENY</onMismatch>
444 </filter>
445 <File>${logDirectory}/dupetool/debug.log</File>
446 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
447 <fileNamePattern>${logDirectory}/dupetool/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
448 </rollingPolicy>
449 <encoder>
450 <pattern>${debugPattern}</pattern>
451 </encoder>
452 </appender>
453 <appender name="dupeToolerror" class="ch.qos.logback.core.rolling.RollingFileAppender">
454 <filter class="ch.qos.logback.classic.filter.LevelFilter">
455 <level>WARN</level>
456 <onMatch>ACCEPT</onMatch>
457 <onMismatch>DENY</onMismatch>
458 </filter>
459 <File>${logDirectory}/dupeTool/error.log</File>
460 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
461 <fileNamePattern>${logDirectory}/dupeTool/error.log.%d{yyyy-MM-dd}</fileNamePattern>
462 </rollingPolicy>
463 <encoder>
464 <pattern>${errorPattern}</pattern>
465 </encoder>
466 </appender>
467 <!-- dupeTool logs ended -->
468 <!-- dynamicPayloadGenerator log starts here -->
469 <appender name="dynamicPayloadGeneratorError" class="ch.qos.logback.core.rolling.RollingFileAppender">
470 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
471 <level>WARN</level>
472 </filter>
473 <File>${logDirectory}/dynamicPayloadGenerator/error.log</File>
474 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
475 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/error.log.%d{yyyy-MM-dd}</fileNamePattern>
476 </rollingPolicy>
477 <encoder>
478 <pattern>${errorPattern}</pattern>
479 </encoder>
480 </appender>
481 <appender name="dynamicPayloadGeneratorDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
482 <filter class="ch.qos.logback.classic.filter.LevelFilter">
483 <level>DEBUG</level>
484 <onMatch>ACCEPT</onMatch>
485 <onMismatch>DENY</onMismatch>
486 </filter>
487 <File>${logDirectory}/dynamicPayloadGenerator/debug.log</File>
488 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
489 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
490 </rollingPolicy>
491 <encoder>
492 <pattern>${debugPattern}</pattern>
493 </encoder>
494 </appender>
495 <appender name="dynamicPayloadGeneratorAudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
496 <filter class="ch.qos.logback.classic.filter.LevelFilter">
497 <level>INFO</level>
498 <onMatch>ACCEPT</onMatch>
499 <onMismatch>DENY</onMismatch>
500 </filter>
501 <File>${logDirectory}/dataExport/audit.log</File>
502 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
503 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
504 </rollingPolicy>
505 <encoder>
506 <pattern>${auditPattern}</pattern>
507 </encoder>
508 </appender>
509 <!-- dynamicPayloadGenerator log ends here -->
510 <!-- forceDelete logs started -->
511 <appender name="forceDeletedebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
512 <filter class="ch.qos.logback.classic.filter.LevelFilter">
513 <level>DEBUG</level>
514 <onMatch>ACCEPT</onMatch>
515 <onMismatch>DENY</onMismatch>
516 </filter>
517 <File>${logDirectory}/forceDelete/debug.log</File>
518 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
519 <fileNamePattern>${logDirectory}/forceDelete/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
520 </rollingPolicy>
521 <encoder>
522 <pattern>${debugPattern}</pattern>
523 </encoder>
524 </appender>
525 <appender name="forceDeleteerror" class="ch.qos.logback.core.rolling.RollingFileAppender">
526 <filter class="ch.qos.logback.classic.filter.LevelFilter">
527 <level>WARN</level>
528 <onMatch>ACCEPT</onMatch>
529 <onMismatch>DENY</onMismatch>
530 </filter>
531 <File>${logDirectory}/forceDelete/error.log</File>
532 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
533 <fileNamePattern>${logDirectory}/forceDelete/error.log.%d{yyyy-MM-dd}</fileNamePattern>
534 </rollingPolicy>
535 <encoder>
536 <pattern>${errorPattern}</pattern>
537 </encoder>
538 </appender>
539 <!-- forceDelete logs ended -->
540 <!-- migration logs started -->
541 <appender name="migrationdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
542 <filter class="ch.qos.logback.classic.filter.LevelFilter">
543 <level>DEBUG</level>
544 <onMatch>ACCEPT</onMatch>
545 <onMismatch>DENY</onMismatch>
546 </filter>
547 <File>${logDirectory}/migration/debug.log</File>
548 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
549 <fileNamePattern>${logDirectory}/migration/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
550 </rollingPolicy>
551 <encoder>
552 <pattern>${debugPattern}</pattern>
553 </encoder>
554 </appender>
555 <appender name="migrationerror" class="ch.qos.logback.core.rolling.RollingFileAppender">
556 <filter class="ch.qos.logback.classic.filter.LevelFilter">
557 <level>WARN</level>
558 <onMatch>ACCEPT</onMatch>
559 <onMismatch>DENY</onMismatch>
560 </filter>
561 <File>${logDirectory}/migration/error.log</File>
562 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
563 <fileNamePattern>${logDirectory}/migration/error.log.%d{yyyy-MM-dd}</fileNamePattern>
564 </rollingPolicy>
565 <encoder>
566 <pattern>${errorPattern}</pattern>
567 </encoder>
568 </appender>
569 <!-- migration logs ended -->
570 <!-- DataGrooming logs started -->
571 <appender name="dataExportError" class="ch.qos.logback.core.rolling.RollingFileAppender">
572 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
573 <level>WARN</level>
574 </filter>
575 <File>${logDirectory}/dataExport/error.log</File>
576 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
577 <fileNamePattern>${logDirectory}/dataExport/error.log.%d{yyyy-MM-dd}</fileNamePattern>
578 </rollingPolicy>
579 <encoder>
580 <pattern>${errorPattern}</pattern>
581 </encoder>
582 </appender>
583 <appender name="dataExportDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
584 <filter class="ch.qos.logback.classic.filter.LevelFilter">
585 <level>DEBUG</level>
586 <onMatch>ACCEPT</onMatch>
587 <onMismatch>DENY</onMismatch>
588 </filter>
589 <File>${logDirectory}/dataExport/debug.log</File>
590 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
591 <fileNamePattern>${logDirectory}/dataExport/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
592 </rollingPolicy>
593 <encoder>
594 <pattern>${debugPattern}</pattern>
595 </encoder>
596 </appender>
597 <appender name="dataExportAudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
598 <filter class="ch.qos.logback.classic.filter.LevelFilter">
599 <level>INFO</level>
600 <onMatch>ACCEPT</onMatch>
601 <onMismatch>DENY</onMismatch>
602 </filter>
603 <File>${logDirectory}/dataExport/audit.log</File>
604 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
605 <fileNamePattern>${logDirectory}/dataExport/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
606 </rollingPolicy>
607 <encoder>
608 <pattern>${auditPattern}</pattern>
609 </encoder>
610 </appender>
611 <!-- schemaMod log starts -->
612 <appender name="schemaModdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
613 <filter class="ch.qos.logback.classic.filter.LevelFilter">
614 <level>DEBUG</level>
615 <onMatch>ACCEPT</onMatch>
616 <onMismatch>DENY</onMismatch>
617 </filter>
618 <File>${logDirectory}/schemaMod/debug.log</File>
619 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
620 <fileNamePattern>${logDirectory}/schemaMod/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
621 </rollingPolicy>
622 <encoder>
623 <pattern>${debugPattern}</pattern>
624 </encoder>
625 </appender>
626 <appender name="schemaModerror" class="ch.qos.logback.core.rolling.RollingFileAppender">
627 <filter class="ch.qos.logback.classic.filter.LevelFilter">
628 <level>WARN</level>
629 <onMatch>ACCEPT</onMatch>
630 <onMismatch>DENY</onMismatch>
631 </filter>
632 <File>${logDirectory}/schemaMod/error.log</File>
633 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
634 <fileNamePattern>${logDirectory}/schemaMod/error.log.%d{yyyy-MM-dd}</fileNamePattern>
635 </rollingPolicy>
636 <encoder>
637 <pattern>${errorPattern}</pattern>
638 </encoder>
639 </appender>
640 <!-- schemaMod log ends -->
641 <!-- uniquePropertyCheck log starts here -->
642 <appender name="uniquePropertyCheckdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
643 <filter class="ch.qos.logback.classic.filter.LevelFilter">
644 <level>DEBUG</level>
645 <onMatch>ACCEPT</onMatch>
646 <onMismatch>DENY</onMismatch>
647 </filter>
648 <File>${logDirectory}/uniquePropertyCheck/debug.log</File>
649 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
650 <fileNamePattern>${logDirectory}/uniquePropertyCheck/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
651 </rollingPolicy>
652 <encoder>
653 <pattern>${debugPattern}</pattern>
654 </encoder>
655 </appender>
656 <appender name="uniquePropertyCheckmetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
657 <filter class="ch.qos.logback.classic.filter.LevelFilter">
658 <level>INFO</level>
659 <onMatch>ACCEPT</onMatch>
660 <onMismatch>DENY</onMismatch>
661 </filter>
662 <File>${logDirectory}/uniquePropertyCheck/metrics.log</File>
663 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
664 <fileNamePattern>${logDirectory}/uniquePropertyCheck/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
665 </rollingPolicy>
666 <encoder>
667 <pattern>${metricPattern}</pattern>
668 </encoder>
669 </appender>
670 <appender name="uniquePropertyCheckerror" class="ch.qos.logback.core.rolling.RollingFileAppender">
671 <filter class="ch.qos.logback.classic.filter.LevelFilter">
672 <level>WARN</level>
673 <onMatch>ACCEPT</onMatch>
674 <onMismatch>DENY</onMismatch>
675 </filter>
676 <File>${logDirectory}/uniquePropertyCheck/error.log</File>
677 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
678 <fileNamePattern>${logDirectory}/uniquePropertyCheck/error.log.%d{yyyy-MM-dd}</fileNamePattern>
679 </rollingPolicy>
680 <encoder>
681 <pattern>${errorPattern}</pattern>
682 </encoder>
683 </appender>
684 <!-- uniquePropertyCheck log ends here -->
685 <!-- dynamicPayloadGenerator log starts here -->
686 <appender name="dynamicPayloadGeneratorError" class="ch.qos.logback.core.rolling.RollingFileAppender">
687 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
688 <level>WARN</level>
689 </filter>
690 <File>${logDirectory}/dynamicPayloadGenerator/error.log</File>
691 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
692 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/error.log.%d{yyyy-MM-dd}</fileNamePattern>
693 </rollingPolicy>
694 <encoder>
695 <pattern>${errorPattern}</pattern>
696 </encoder>
697 </appender>
698 <appender name="dynamicPayloadGeneratorDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
699 <filter class="ch.qos.logback.classic.filter.LevelFilter">
700 <level>DEBUG</level>
701 <onMatch>ACCEPT</onMatch>
702 <onMismatch>DENY</onMismatch>
703 </filter>
704 <File>${logDirectory}/dynamicPayloadGenerator/debug.log</File>
705 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
706 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
707 </rollingPolicy>
708 <encoder>
709 <pattern>${debugPattern}</pattern>
710 </encoder>
711 </appender>
712 <appender name="dynamicPayloadGeneratorAudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
713 <filter class="ch.qos.logback.classic.filter.LevelFilter">
714 <level>INFO</level>
715 <onMatch>ACCEPT</onMatch>
716 <onMismatch>DENY</onMismatch>
717 </filter>
718 <File>${logDirectory}/dataExport/audit.log</File>
719 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
720 <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/audit.log.%d{yyyy-MM-dd}</fileNamePattern>
721 </rollingPolicy>
722 <encoder>
723 <pattern>${auditPattern}</pattern>
724 </encoder>
725 </appender>
726 <!-- dynamicPayloadGenerator log ends here -->
727 <logger name="org.onap.aai" level="DEBUG" additivity="false">
728 <appender-ref ref="asyncDEBUG"/>
729 <appender-ref ref="asyncSANE"/>
730 <appender-ref ref="STDOUT"/>
731 </logger>
732 <!-- Spring related loggers -->
733 <logger name="org.springframework" level="WARN"/>
734 <logger name="org.springframework.beans" level="WARN"/>
735 <logger name="org.springframework.web" level="WARN"/>
736 <logger name="com.blog.spring.jms" level="WARN"/>
737 <logger name="com.jayway.jsonpath" level="WARN"/>
738 <!-- AJSC Services (bootstrap services) -->
739 <logger name="ajsc" level="WARN"/>
740 <logger name="ajsc.RouteMgmtService" level="WARN"/>
741 <logger name="ajsc.ComputeService" level="WARN"/>
742 <logger name="ajsc.VandelayService" level="WARN"/>
743 <logger name="ajsc.FilePersistenceService" level="WARN"/>
744 <logger name="ajsc.UserDefinedJarService" level="WARN"/>
745 <logger name="ajsc.UserDefinedBeansDefService" level="WARN"/>
746 <logger name="ajsc.LoggingConfigurationService" level="WARN"/>
guillaume.lambert30ec3902021-09-14 12:32:24 +0200747 <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet logging) -->
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100748 <logger name="org.codehaus.groovy" level="WARN"/>
749 <logger name="com.att.scamper" level="WARN"/>
750 <logger name="ajsc.utils" level="WARN"/>
751 <logger name="ajsc.utils.DME2Helper" level="WARN"/>
752 <logger name="ajsc.filters" level="WARN"/>
753 <logger name="ajsc.beans.interceptors" level="WARN"/>
754 <logger name="ajsc.restlet" level="WARN"/>
755 <logger name="ajsc.servlet" level="WARN"/>
756 <logger name="com.att.ajsc" level="WARN"/>
757 <logger name="com.att.ajsc.csi.logging" level="WARN"/>
758 <logger name="com.att.ajsc.filemonitor" level="WARN"/>
759 <logger name="com.netflix.loadbalancer" level="WARN"/>
760 <logger name="org.apache.zookeeper" level="WARN"/>
761 <!-- Other Loggers that may help troubleshoot -->
762 <logger name="net.sf" level="WARN"/>
763 <logger name="org.apache.commons.httpclient" level="WARN"/>
764 <logger name="org.apache.commons" level="WARN"/>
765 <logger name="org.apache.coyote" level="WARN"/>
766 <logger name="org.apache.jasper" level="WARN"/>
guillaume.lambert30ec3902021-09-14 12:32:24 +0200767 <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging. May aid in troubleshooting) -->
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100768 <logger name="org.apache.camel" level="WARN"/>
769 <logger name="org.apache.cxf" level="WARN"/>
770 <logger name="org.apache.camel.processor.interceptor" level="WARN"/>
771 <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN"/>
772 <logger name="org.apache.cxf.service" level="WARN"/>
773 <logger name="org.restlet" level="WARN"/>
774 <logger name="org.apache.camel.component.restlet" level="WARN"/>
775 <logger name="org.hibernate.validator" level="WARN"/>
776 <logger name="org.hibernate" level="WARN"/>
777 <logger name="org.hibernate.ejb" level="OFF"/>
778 <!-- logback internals logging -->
779 <logger name="ch.qos.logback.classic" level="WARN"/>
780 <logger name="ch.qos.logback.core" level="WARN"/>
781 <logger name="org.eclipse.jetty" level="WARN"/>
782 <!-- logback jms appenders & loggers definition starts here -->
783 <appender name="auditLogs" class="ch.qos.logback.core.rolling.RollingFileAppender">
784 <filter class="ch.qos.logback.classic.filter.ThresholdFilter"/>
guillaume.lambert30ec3902021-09-14 12:32:24 +0200785 <file>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.log</file>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100786 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200787 <fileNamePattern>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100788 <minIndex>1</minIndex>
789 <maxIndex>9</maxIndex>
790 </rollingPolicy>
791 <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
792 <maxFileSize>5MB</maxFileSize>
793 </triggeringPolicy>
794 <encoder>
795 <pattern>auditPattern</pattern>
796 </encoder>
797 </appender>
798 <appender name="perfLogs" class="ch.qos.logback.core.rolling.RollingFileAppender">
799 <filter class="ch.qos.logback.classic.filter.ThresholdFilter"/>
guillaume.lambert30ec3902021-09-14 12:32:24 +0200800 <file>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.log</file>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100801 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200802 <fileNamePattern>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100803 <minIndex>1</minIndex>
804 <maxIndex>9</maxIndex>
805 </rollingPolicy>
806 <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
807 <maxFileSize>5MB</maxFileSize>
808 </triggeringPolicy>
809 <encoder>
810 <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
811 </encoder>
812 </appender>
813 <appender name="auth" class="ch.qos.logback.core.rolling.RollingFileAppender">
814 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
815 <level>DEBUG</level>
816 </filter>
817 <file>${logDirectory}/auth/auth.log</file>
818 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
guillaume.lambert30ec3902021-09-14 12:32:24 +0200819 <fileNamePattern>${logDirectory}/auth/auth.log.%d{yyyy-MM-dd}</fileNamePattern>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100820 </rollingPolicy>
821 <encoder>
822 <pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}[%thread] %-5level %logger{1024} - %msg%n</pattern>
823 </encoder>
824 </appender>
825 <appender name="asyncAUTH" class="ch.qos.logback.classic.AsyncAppender">
826 <queueSize>1000</queueSize>
827 <includeCallerData>true</includeCallerData>
828 <appender-ref ref="auth"/>
829 </appender>
830 <logger name="AuditRecord" level="INFO" additivity="false">
831 <appender-ref ref="auditLogs"/>
832 </logger>
833 <logger name="AuditRecord_DirectCall" level="INFO" additivity="false">
834 <appender-ref ref="auditLogs"/>
835 </logger>
836 <logger name="PerfTrackerRecord" level="INFO" additivity="false">
837 <appender-ref ref="perfLogs"/>
838 </logger>
839 <!-- logback jms appenders & loggers definition ends here -->
840 <logger name="org.onap.aai.aaf" level="DEBUG" additivity="false">
841 <appender-ref ref="asyncAUTH"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100842 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100843 </logger>
844 <logger name="org.onap.aai.aailog.filter.RestClientLoggingInterceptor" level="INFO">
845 <appender-ref ref="asyncMETRIC"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100846 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100847 </logger>
848 <logger name="org.onap.logging.filter.base.AbstractMetricLogFilter" level="INFO">
849 <appender-ref ref="asyncMETRIC"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100850 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100851 </logger>
852 <logger name="org.onap.aai.aailog.logs.AaiScheduledTaskAuditLog" level="INFO">
853 <appender-ref ref="asyncAUDIT"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100854 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100855 </logger>
856 <logger name="org.onap.logging.filter.base.AbstractAuditLogFilter" level="INFO">
857 <appender-ref ref="asyncAUDIT"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100858 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100859 </logger>
860 <logger name="org.onap.aai.aailog.logs.AaiDBMetricLog" level="INFO">
861 <appender-ref ref="asyncMETRIC"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100862 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100863 </logger>
864 <logger name="org.onap.aai.logging.ErrorLogHelper" level="WARN">
865 <appender-ref ref="asyncERROR"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100866 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100867 </logger>
868 <logger name="org.onap.aai.interceptors.post" level="DEBUG" additivity="false">
869 <appender-ref ref="asynctranslog"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100870 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100871 </logger>
872 <logger name="org.onap.aai.dmaap" level="DEBUG" additivity="false">
873 <appender-ref ref="dmaapAAIEventConsumer"/>
874 <appender-ref ref="dmaapAAIEventConsumerDebug"/>
875 <appender-ref ref="dmaapAAIEventConsumerMetric"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100876 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100877 </logger>
878 <logger name="org.onap.aai.datasnapshot" level="DEBUG" additivity="false">
879 <appender-ref ref="dataSnapshot"/>
880 <appender-ref ref="dataSnapshotdebug"/>
881 <appender-ref ref="dataSnapshotaudit"/>
882 <appender-ref ref="STDOUT"/>
883 </logger>
884 <logger name="org.onap.aai.historytruncate" level="DEBUG" additivity="false">
885 <appender-ref ref="historyTruncate"/>
886 <appender-ref ref="historyTruncatedebug"/>
887 <appender-ref ref="historyTruncateaudit"/>
888 </logger>
889 <logger name="org.onap.aai.datagrooming" level="DEBUG" additivity="false">
890 <appender-ref ref="dataGrooming"/>
891 <appender-ref ref="dataGroomingdebug"/>
892 <appender-ref ref="dataGroomingaudit"/>
893 <appender-ref ref="STDOUT"/>
894 </logger>
895 <logger name="org.onap.aai.schema" level="DEBUG" additivity="false">
896 <appender-ref ref="createDBSchema"/>
897 <appender-ref ref="createDBSchemadebug"/>
898 <appender-ref ref="createDBSchemametric"/>
899 </logger>
900 <logger name="org.onap.aai.dbgen.DupeTool" level="DEBUG" additivity="false">
901 <appender-ref ref="dupeTooldebug"/>
902 <appender-ref ref="dupeToolerror"/>
903 </logger>
904 <logger name="org.onap.aai.dbgen.DynamicPayloadGenerator" level="DEBUG" additivity="false">
905 <appender-ref ref="dynamicPayloadGeneratorAudit"/>
906 <appender-ref ref="dynamicPayloadGeneratorError"/>
907 <appender-ref ref="dynamicPayloadGeneratorDebug"/>
908 </logger>
909 <logger name="org.onap.aai.dbgen" level="DEBUG" additivity="false">
910 <appender-ref ref="createDBSchema"/>
911 <appender-ref ref="createDBSchemadebug"/>
912 <appender-ref ref="createDBSchemametric"/>
913 </logger>
914 <logger name="org.onap.aai.datacleanup" level="DEBUG" additivity="false">
915 <appender-ref ref="dataCleanuperror"/>
916 <appender-ref ref="dataCleanupdebug"/>
917 <appender-ref ref="dataCleanupaudit"/>
918 <appender-ref ref="STDOUT"/>
919 </logger>
920 <logger name="org.onap.aai.migration" level="DEBUG" additivity="false">
921 <appender-ref ref="migrationdebug"/>
922 <appender-ref ref="migrationerror"/>
923 </logger>
924 <logger name="org.onap.aai.util.SendMigrationNotifications" level="DEBUG" additivity="false">
925 <appender-ref ref="migrationdebug"/>
926 <appender-ref ref="migrationerror"/>
927 </logger>
928 <logger name="org.onap.aai.util.SendDeleteMigrationNotifications" level="DEBUG" additivity="false">
929 <appender-ref ref="migrationdebug"/>
930 <appender-ref ref="migrationerror"/>
931 </logger>
932 <logger name="org.onap.aai.dataexport" level="DEBUG" additivity="false">
933 <appender-ref ref="dataExportError"/>
934 <appender-ref ref="dataExportDebug"/>
935 <appender-ref ref="dataExportAudit"/>
936 <appender-ref ref="STDOUT"/>
937 </logger>
938 <logger name="org.apache" level="WARN"/>
939 <logger name="org.zookeeper" level="WARN"/>
940 <logger name="com.netflix" level="WARN"/>
941 <logger name="org.janusgraph" level="WARN"/>
942 <logger name="com.att.aft.dme2" level="WARN"/>
943 <!-- ============================================================================ -->
944 <!-- General EELF logger -->
945 <!-- ============================================================================ -->
946 <logger name="com.att.eelf" level="WARN" additivity="false">
947 <appender-ref ref="asyncDEBUG"/>
948 <appender-ref ref="asyncERROR"/>
949 <appender-ref ref="asyncMETRIC"/>
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100950 <appender-ref ref="STDOUT"/>
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100951 </logger>
952 <root level="DEBUG">
953 <appender-ref ref="external"/>
954 <appender-ref ref="STDOUT"/>
955 </root>
956</configuration>