blob: e5e6ab5bf337df89e0633660918d065df79a7648 [file] [log] [blame]
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -04001<!--
2
3 ============LICENSE_START=======================================================
4 org.onap.aai
5 ================================================================================
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -05006 Copyright 2019 AT&T Intellectual Property. All rights reserved.
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -04007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20
21-->
22<configuration scan="true" scanPeriod="60 seconds" debug="false">
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050023 <statusListener class="ch.qos.logback.core.status.NopStatusListener" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040024
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050025 <property resource="application.properties" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040026
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050027 <property name="namespace" value="graph-admin"/>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040028
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050029 <property name="AJSC_HOME" value="${AJSC_HOME:-.}" />
30
31 <property name="logDirectory" value="${AJSC_HOME}/logs" />
32 <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"/>
33 <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"/>
34 <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"/>
35 <!-- <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"/> -->
36 <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"/>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040037 <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"/>
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050038
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040039 <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
40 <conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />
41 <conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" />
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050042 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
43 <encoder>
44 <pattern>
45 %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}
46 </pattern>
47 </encoder>
48 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040049
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050050 <appender name="SANE" class="ch.qos.logback.core.rolling.RollingFileAppender">
51 <file>${logDirectory}/rest/sane.log</file>
52 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
53 <fileNamePattern>${logDirectory}/rest/sane.log.%d{yyyy-MM-dd}</fileNamePattern>
54 </rollingPolicy>
55 <encoder>
56 <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n
57 </pattern>
58 </encoder>
59 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040060
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050061 <appender name="asyncSANE" class="ch.qos.logback.classic.AsyncAppender">
62 <queueSize>1000</queueSize>
63 <includeCallerData>true</includeCallerData>
64 <appender-ref ref="SANE" />
65 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040066
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050067 <appender name="METRIC"
68 class="ch.qos.logback.core.rolling.RollingFileAppender">
69 <filter class="ch.qos.logback.classic.filter.LevelFilter">
70 <level>INFO</level>
71 <onMatch>ACCEPT</onMatch>
72 <onMismatch>DENY</onMismatch>
73 </filter>
74 <file>${logDirectory}/rest/metrics.log</file>
75 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
76 <fileNamePattern>${logDirectory}/rest/metrics.log.%d{yyyy-MM-dd}
77 </fileNamePattern>
78 </rollingPolicy>
79 <encoder class="org.onap.aai.logging.EcompEncoder">
80 <pattern>${eelfMetricLogPattern}</pattern>
81 </encoder>
82 </appender>
83 <appender name="asyncMETRIC" class="ch.qos.logback.classic.AsyncAppender">
84 <queueSize>1000</queueSize>
85 <includeCallerData>true</includeCallerData>
86 <appender-ref ref="METRIC" />
87 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040088
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050089 <appender name="DEBUG"
90 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}
99 </fileNamePattern>
100 </rollingPolicy>
101 <encoder class="org.onap.aai.logging.EcompEncoder">
102 <pattern>${eelfLogPattern}</pattern>
103 </encoder>
104 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400105
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500106 <appender name="asyncDEBUG" class="ch.qos.logback.classic.AsyncAppender">
107 <queueSize>1000</queueSize>
108 <includeCallerData>true</includeCallerData>
109 <appender-ref ref="DEBUG" />
110 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400111
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500112 <appender name="ERROR"
113 class="ch.qos.logback.core.rolling.RollingFileAppender">
114 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
115 <level>WARN</level>
116 </filter>
117 <file>${logDirectory}/rest/error.log</file>
118 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
119 <fileNamePattern>${logDirectory}/rest/error.log.%d{yyyy-MM-dd}
120 </fileNamePattern>
121 </rollingPolicy>
122 <encoder class="org.onap.aai.logging.EcompEncoder">
123 <pattern>${"eelfErrorLogPattern"}</pattern>
124 </encoder>
125 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400126
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500127 <appender name="asyncERROR" class="ch.qos.logback.classic.AsyncAppender">
128 <queueSize>1000</queueSize>
129 <includeCallerData>true</includeCallerData>
130 <appender-ref ref="ERROR" />
131 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400132
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500133 <appender name="AUDIT"
134 class="ch.qos.logback.core.rolling.RollingFileAppender">
135 <file>${logDirectory}/rest/audit.log</file>
136 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
137 <fileNamePattern>${logDirectory}/rest/audit.log.%d{yyyy-MM-dd}
138 </fileNamePattern>
139 </rollingPolicy>
140 <encoder class="org.onap.aai.logging.EcompEncoder">
141 <pattern>${eelfAuditLogPattern}</pattern>
142 </encoder>
143 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400144
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500145 <appender name="asyncAUDIT" class="ch.qos.logback.classic.AsyncAppender">
146 <queueSize>1000</queueSize>
147 <includeCallerData>true</includeCallerData>
148 <appender-ref ref="AUDIT" />
149 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400150
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500151 <appender name="translog"
152 class="ch.qos.logback.core.rolling.RollingFileAppender">
153 <filter class="ch.qos.logback.classic.filter.LevelFilter">
154 <level>DEBUG</level>
155 <onMatch>ACCEPT</onMatch>
156 <onMismatch>DENY</onMismatch>
157 </filter>
158 <file>${logDirectory}/rest/translog.log</file>
159 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
160 <fileNamePattern>${logDirectory}/rest/translog.log.%d{yyyy-MM-dd}
161 </fileNamePattern>
162 </rollingPolicy>
163 <encoder class="org.onap.aai.logging.EcompEncoder">
164 <pattern>${eelfTransLogPattern}</pattern>
165 </encoder>
166 </appender>
167
168 <appender name="asynctranslog" class="ch.qos.logback.classic.AsyncAppender">
169 <queueSize>1000</queueSize>
170 <includeCallerData>true</includeCallerData>
171 <appender-ref ref="translog" />
172 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400173
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500174 <appender name="dmaapAAIEventConsumer"
175 class="ch.qos.logback.core.rolling.RollingFileAppender">
176 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
177 <level>WARN</level>
178 </filter>
179 <File>${logDirectory}/dmaapAAIEventConsumer/error.log</File>
180 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
181 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/error.log.%d{yyyy-MM-dd}
182 </fileNamePattern>
183 </rollingPolicy>
184 <encoder class="org.onap.aai.logging.EcompEncoder">
185 <pattern>${"eelfErrorLogPattern"}</pattern>
186 </encoder>
187 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400188
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500189 <appender name="dmaapAAIEventConsumerDebug"
190 class="ch.qos.logback.core.rolling.RollingFileAppender">
191 <filter class="ch.qos.logback.classic.filter.LevelFilter">
192 <level>DEBUG</level>
193 <onMatch>ACCEPT</onMatch>
194 <onMismatch>DENY</onMismatch>
195 </filter>
196 <File>${logDirectory}/dmaapAAIEventConsumer/debug.log</File>
197 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
198 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/debug.log.%d{yyyy-MM-dd}
199 </fileNamePattern>
200 </rollingPolicy>
201 <encoder class="org.onap.aai.logging.EcompEncoder">
202 <pattern>${eelfLogPattern}</pattern>
203 </encoder>
204 </appender>
205 <appender name="dmaapAAIEventConsumerMetric"
206 class="ch.qos.logback.core.rolling.RollingFileAppender">
207 <filter class="ch.qos.logback.classic.filter.LevelFilter">
208 <level>INFO</level>
209 <onMatch>ACCEPT</onMatch>
210 <onMismatch>DENY</onMismatch>
211 </filter>
212 <File>${logDirectory}/dmaapAAIEventConsumer/metrics.log</File>
213 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
214 <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/metrics.log.%d{yyyy-MM-dd}
215 </fileNamePattern>
216 </rollingPolicy>
217 <encoder class="org.onap.aai.logging.EcompEncoder">
218 <pattern>${eelfMetricLogPattern}</pattern>
219 </encoder>
220 </appender>
221 <appender name="external"
222 class="ch.qos.logback.core.rolling.RollingFileAppender">
223 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
224 <level>WARN</level>
225 </filter>
226 <file>${logDirectory}/external/external.log</file>
227 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
228 <fileNamePattern>${logDirectory}/external/external.log.%d{yyyy-MM-dd}
229 </fileNamePattern>
230 </rollingPolicy>
231 <encoder class="org.onap.aai.logging.EcompEncoder">
232 <pattern>${eelfLogPattern}</pattern>
233 </encoder>
234 </appender>
235
236 <!-- DataGrooming logs started -->
237 <appender name="dataGrooming" class="ch.qos.logback.core.rolling.RollingFileAppender">
238 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
239 <level>WARN</level>
240 </filter>
241 <File>${logDirectory}/dataGrooming/error.log</File>
242 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
243 <fileNamePattern>${logDirectory}/dataGrooming/error.log.%d{yyyy-MM-dd}</fileNamePattern>
244 </rollingPolicy>
245 <encoder class="org.onap.aai.logging.EcompEncoder">
246 <pattern>${eelfErrorLogPattern}</pattern>
247 </encoder>
248 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400249
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500250 <appender name="dataGroomingdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
251 <filter class="ch.qos.logback.classic.filter.LevelFilter">
252 <level>DEBUG</level>
253 <onMatch>ACCEPT</onMatch>
254 <onMismatch>DENY</onMismatch>
255 </filter>
256 <File>${logDirectory}/dataGrooming/debug.log</File>
257 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
258 <fileNamePattern>${logDirectory}/dataGrooming/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
259 </rollingPolicy>
260 <encoder class="org.onap.aai.logging.EcompEncoder">
261 <pattern>${eelfLogPattern}</pattern>
262 </encoder>
263 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400264
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500265 <appender name="dataGroomingmetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
266 <filter class="ch.qos.logback.classic.filter.LevelFilter">
267 <level>INFO</level>
268 <onMatch>ACCEPT</onMatch>
269 <onMismatch>DENY</onMismatch>
270 </filter>
271 <File>${logDirectory}/dataGrooming/metrics.log</File>
272 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
273 <fileNamePattern>${logDirectory}/dataGrooming/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
274 </rollingPolicy>
275 <encoder class="org.onap.aai.logging.EcompEncoder">
276 <pattern>${eelfMetricLogPattern}</pattern>
277 </encoder>
278 </appender>
279
280 <!-- DataGrooming logs ended -->
281
282 <!-- DataSnapshot logs started -->
283 <appender name="dataSnapshot" class="ch.qos.logback.core.rolling.RollingFileAppender">
284 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
285 <level>WARN</level>
286 </filter>
287 <File>${logDirectory}/dataSnapshot/error.log</File>
288 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
289 <fileNamePattern>${logDirectory}/dataSnapshot/error.log.%d{yyyy-MM-dd}</fileNamePattern>
290 </rollingPolicy>
291 <encoder class="org.onap.aai.logging.EcompEncoder">
292 <pattern>${eelfErrorLogPattern}</pattern>
293 </encoder>
294 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400295
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500296 <appender name="dataSnapshotdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
297 <filter class="ch.qos.logback.classic.filter.LevelFilter">
298 <level>DEBUG</level>
299 <onMatch>ACCEPT</onMatch>
300 <onMismatch>DENY</onMismatch>
301 </filter>
302 <File>${logDirectory}/dataSnapshot/debug.log</File>
303 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
304 <fileNamePattern>${logDirectory}/dataSnapshot/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
305 </rollingPolicy>
306 <encoder class="org.onap.aai.logging.EcompEncoder">
307 <pattern>${eelfLogPattern}</pattern>
308 </encoder>
309 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400310
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500311 <appender name="dataSnapshotmetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
312 <filter class="ch.qos.logback.classic.filter.LevelFilter">
313 <level>INFO</level>
314 <onMatch>ACCEPT</onMatch>
315 <onMismatch>DENY</onMismatch>
316 </filter>
317 <File>${logDirectory}/dataSnapshot/metrics.log</File>
318 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
319 <fileNamePattern>${logDirectory}/dataSnapshot/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
320 </rollingPolicy>
321 <encoder class="org.onap.aai.logging.EcompEncoder">
322 <pattern>${eelfMetricLogPattern}</pattern>
323 </encoder>
324 </appender>
325
326 <!-- DataSnapshot logs ended -->
327
328 <!-- CreateDBSchema logs started -->
329 <appender name="createDBSchema" class="ch.qos.logback.core.rolling.RollingFileAppender">
330 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
331 <level>WARN</level>
332 </filter>
333 <File>${logDirectory}/createDBSchema/error.log</File>
334 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
335 <fileNamePattern>${logDirectory}/createDBSchema/error.log.%d{yyyy-MM-dd}</fileNamePattern>
336 </rollingPolicy>
337 <encoder class="org.onap.aai.logging.EcompEncoder">
338 <pattern>${"eelfErrorLogPattern"}</pattern>
339 </encoder>
340 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400341
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500342 <appender name="createDBSchemadebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
343 <filter class="ch.qos.logback.classic.filter.LevelFilter">
344 <level>DEBUG</level>
345 <onMatch>ACCEPT</onMatch>
346 <onMismatch>DENY</onMismatch>
347 </filter>
348 <File>${logDirectory}/createDBSchema/debug.log</File>
349 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
350 <fileNamePattern>${logDirectory}/createDBSchema/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
351 </rollingPolicy>
352 <encoder class="org.onap.aai.logging.EcompEncoder">
353 <pattern>${eelfLogPattern}</pattern>
354 </encoder>
355 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400356
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500357 <appender name="createDBSchemametric" class="ch.qos.logback.core.rolling.RollingFileAppender">
358 <filter class="ch.qos.logback.classic.filter.LevelFilter">
359 <level>INFO</level>
360 <onMatch>ACCEPT</onMatch>
361 <onMismatch>DENY</onMismatch>
362 </filter>
363 <File>${logDirectory}/createDBSchema/metrics.log</File>
364 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
365 <fileNamePattern>${logDirectory}/createDBSchema/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
366 </rollingPolicy>
367 <encoder class="org.onap.aai.logging.EcompEncoder">
368 <pattern>${eelfMetricLogPattern}</pattern>
369 </encoder>
370 </appender>
371 <!-- CreateDBSchema logs ended -->
372
373 <!-- DataCleanupTasks logs started -->
374 <appender name="dataCleanuperror" class="ch.qos.logback.core.rolling.RollingFileAppender">
375 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
376 <level>WARN</level>
377 </filter>
378 <File>${logDirectory}/misc/error.log</File>
379 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
380 <fileNamePattern>${logDirectory}/misc/error.log.%d{yyyy-MM-dd}</fileNamePattern>
381 </rollingPolicy>
382 <encoder class="org.onap.aai.logging.EcompEncoder">
383 <pattern>${"eelfErrorLogPattern"}</pattern>
384 </encoder>
385 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400386
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500387 <appender name="dataCleanupdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
388 <filter class="ch.qos.logback.classic.filter.LevelFilter">
389 <level>DEBUG</level>
390 <onMatch>ACCEPT</onMatch>
391 <onMismatch>DENY</onMismatch>
392 </filter>
393 <File>${logDirectory}/misc/debug.log</File>
394 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
395 <fileNamePattern>${logDirectory}/misc/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
396 </rollingPolicy>
397 <encoder class="org.onap.aai.logging.EcompEncoder">
398 <pattern>${eelfLogPattern}</pattern>
399 </encoder>
400 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400401
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500402 <appender name="dataCleanupmetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
403 <filter class="ch.qos.logback.classic.filter.LevelFilter">
404 <level>INFO</level>
405 <onMatch>ACCEPT</onMatch>
406 <onMismatch>DENY</onMismatch>
407 </filter>
408 <File>${logDirectory}/misc/metrics.log</File>
409 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
410 <fileNamePattern>${logDirectory}/misc/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
411 </rollingPolicy>
412 <encoder class="org.onap.aai.logging.EcompEncoder">
413 <pattern>${eelfMetricLogPattern}</pattern>
414 </encoder>
415 </appender>
416 <!-- DataCleanupTasks logs ended -->
417
418 <!-- pullInvData logs started -->
419 <appender name="pullInvData" class="ch.qos.logback.core.rolling.RollingFileAppender">
420 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
421 <level>WARN</level>
422 </filter>
423 <File>${logDirectory}/pullInvData/error.log</File>
424 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
425 <fileNamePattern>${logDirectory}/pullInvData/error.log.%d{yyyy-MM-dd}</fileNamePattern>
426 </rollingPolicy>
427 <encoder class="org.onap.aai.logging.EcompEncoder">
428 <pattern>${"eelfErrorLogPattern"}</pattern>
429 </encoder>
430 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400431
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500432 <appender name="pullInvDatadebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
433 <filter class="ch.qos.logback.classic.filter.LevelFilter">
434 <level>DEBUG</level>
435 <onMatch>ACCEPT</onMatch>
436 <onMismatch>DENY</onMismatch>
437 </filter>
438 <File>${logDirectory}/pullInvData/debug.log</File>
439 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
440 <fileNamePattern>${logDirectory}/pullInvData/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
441 </rollingPolicy>
442 <encoder class="org.onap.aai.logging.EcompEncoder">
443 <pattern>${eelfLogPattern}</pattern>
444 </encoder>
445 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400446
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500447 <appender name="pullInvDatametric" class="ch.qos.logback.core.rolling.RollingFileAppender">
448 <filter class="ch.qos.logback.classic.filter.LevelFilter">
449 <level>INFO</level>
450 <onMatch>ACCEPT</onMatch>
451 <onMismatch>DENY</onMismatch>
452 </filter>
453 <File>${logDirectory}/pullInvData/metrics.log</File>
454 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
455 <fileNamePattern>${logDirectory}/pullInvData/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
456 </rollingPolicy>
457 <encoder class="org.onap.aai.logging.EcompEncoder">
458 <pattern>${eelfMetricLogPattern}</pattern>
459 </encoder>
460 </appender>
461 <!-- pullInvData logs ended -->
462 <!-- DataGrooming logs started -->
463 <appender name="dataExportError" class="ch.qos.logback.core.rolling.RollingFileAppender">
464 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
465 <level>WARN</level>
466 </filter>
467 <File>${logDirectory}/dataExport/error.log</File>
468 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
469 <fileNamePattern>${logDirectory}/dataExport/error.log.%d{yyyy-MM-dd}</fileNamePattern>
470 </rollingPolicy>
471 <encoder class="org.onap.aai.logging.EcompEncoder">
472 <pattern>${eelfErrorLogPattern}</pattern>
473 </encoder>
474 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400475
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500476 <appender name="dataExportDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
477 <filter class="ch.qos.logback.classic.filter.LevelFilter">
478 <level>DEBUG</level>
479 <onMatch>ACCEPT</onMatch>
480 <onMismatch>DENY</onMismatch>
481 </filter>
482 <File>${logDirectory}/dataExport/debug.log</File>
483 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
484 <fileNamePattern>${logDirectory}/dataExport/debug.log.%d{yyyy-MM-dd}</fileNamePattern>
485 </rollingPolicy>
486 <encoder class="org.onap.aai.logging.EcompEncoder">
487 <pattern>${eelfLogPattern}</pattern>
488 </encoder>
489 </appender>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400490
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500491 <appender name="dataExportMetric" class="ch.qos.logback.core.rolling.RollingFileAppender">
492 <filter class="ch.qos.logback.classic.filter.LevelFilter">
493 <level>INFO</level>
494 <onMatch>ACCEPT</onMatch>
495 <onMismatch>DENY</onMismatch>
496 </filter>
497 <File>${logDirectory}/dataExport/metrics.log</File>
498 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
499 <fileNamePattern>${logDirectory}/dataExport/metrics.log.%d{yyyy-MM-dd}</fileNamePattern>
500 </rollingPolicy>
501 <encoder class="org.onap.aai.logging.EcompEncoder">
502 <pattern>${eelfMetricLogPattern}</pattern>
503 </encoder>
504 </appender>
505
506 <logger name="org.onap.aai" level="DEBUG" additivity="false">
507 <appender-ref ref="asyncDEBUG" />
508 <appender-ref ref="asyncERROR" />
509 <appender-ref ref="asyncMETRIC" />
510 <appender-ref ref="asyncSANE" />
511 <appender-ref ref="STDOUT"/>
512 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400513
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500514 <!-- Spring related loggers -->
515 <logger name="org.springframework" level="WARN" />
516 <logger name="org.springframework.beans" level="WARN" />
517 <logger name="org.springframework.web" level="WARN" />
518 <logger name="com.blog.spring.jms" level="WARN" />
519 <logger name="com.jayway.jsonpath" level="WARN" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400520
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400521
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500522 <!-- logback internals logging -->
523 <logger name="ch.qos.logback.classic" level="WARN" />
524 <logger name="ch.qos.logback.core" level="WARN" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400525
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500526 <logger name="org.eclipse.jetty" level="WARN" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400527
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500528 <logger name="org.onap.aai.interceptors.post" level="DEBUG"
529 additivity="false">
530 <appender-ref ref="asynctranslog" />
531 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400532
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500533 <logger name="org.onap.aai.interceptors.pre.SetLoggingContext" level="DEBUG">
534 <appender-ref ref="asyncAUDIT"/>
535 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400536
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500537 <logger name="org.onap.aai.interceptors.post.ResetLoggingContext" level="DEBUG">
538 <appender-ref ref="asyncAUDIT"/>
539 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400540
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500541 <logger name="org.onap.aai.dmaap" level="DEBUG" additivity="false">
542 <appender-ref ref="dmaapAAIEventConsumer" />
543 <appender-ref ref="dmaapAAIEventConsumerDebug" />
544 <appender-ref ref="dmaapAAIEventConsumerMetric" />
545 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400546
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500547 <logger name="org.onap.aai.datasnapshot" level="DEBUG" additivity="false">
548 <appender-ref ref="dataSnapshot"/>
549 <appender-ref ref="dataSnapshotdebug"/>
550 <appender-ref ref="dataSnapshotmetric"/>
551 <appender-ref ref="STDOUT"/>
552 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400553
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500554 <logger name="org.onap.aai.datagrooming" level="DEBUG" additivity="false">
555 <appender-ref ref="dataGrooming"/>
556 <appender-ref ref="dataGroomingdebug"/>
557 <appender-ref ref="dataGroomingmetric"/>
558 <appender-ref ref="STDOUT"/>
559 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400560
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500561 <logger name="org.onap.aai.schema" level="DEBUG" additivity="false">
562 <appender-ref ref="createDBSchema"/>
563 <appender-ref ref="createDBSchemadebug"/>
564 <appender-ref ref="createDBSchemametric"/>
565 <appender-ref ref="STDOUT" />
566 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400567
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500568 <logger name="org.onap.aai.dbgen" level="DEBUG" additivity="false">
569 <appender-ref ref="createDBSchema"/>
570 <appender-ref ref="createDBSchemadebug"/>
571 <appender-ref ref="createDBSchemametric"/>
572 <appender-ref ref="STDOUT" />
573 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400574
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500575 <logger name="org.onap.aai.dbgen.PullInvData" level="DEBUG" additivity="false">
576 <appender-ref ref="pullInvData"/>
577 <appender-ref ref="pullInvDatadebug"/>
578 <appender-ref ref="pullInvDatametric"/>
579 </logger>
580
581 <logger name="org.onap.aai.datacleanup" level="INFO" additivity="false">
582 <appender-ref ref="dataCleanuperror" />
583 <appender-ref ref="dataCleanupdebug" />
584 <appender-ref ref="dataCleanupmetric" />
585 <appender-ref ref="STDOUT"/>
586 </logger>
587 <logger name="org.onap.aai.dataexport" level="DEBUG" additivity="false">
588 <appender-ref ref="dataExportError"/>
589 <appender-ref ref="dataExportDebug"/>
590 <appender-ref ref="dataExportMetric"/>
591 <appender-ref ref="STDOUT"/>
592 </logger>
593 <logger name="org.apache" level="WARN" />
594 <logger name="org.zookeeper" level="WARN" />
595 <logger name="com.netflix" level="WARN" />
596 <logger name="org.janusgraph" level="WARN" />
597 <logger name="com.att.aft.dme2" level="WARN" />
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400598
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500599 <!-- ============================================================================ -->
600 <!-- General EELF logger -->
601 <!-- ============================================================================ -->
602 <logger name="com.att.eelf" level="WARN" additivity="false">
603 <appender-ref ref="asyncDEBUG" />
604 <appender-ref ref="asyncERROR" />
605 <appender-ref ref="asyncMETRIC" />
606 </logger>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400607
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500608 <root level="DEBUG">
609 <appender-ref ref="external" />
610 {{ if .Values.global.config.logback.console.enabled }}
611 <appender-ref ref="STDOUT" />
612 {{ end }}
613 </root>
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400614</configuration>