Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 3 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 4 | ============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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 21 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 22 | --> |
| 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 |
| 30 | <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"/> |
| 35 | <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"/> |
| 36 | --> |
| 37 | <property name="p_tim" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 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> |
| 58 | %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> |
| 60 | </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> |
| 68 | <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n |
| 69 | </pattern> |
| 70 | </encoder> |
| 71 | </appender> |
| 72 | <appender name="asyncSANE" class="ch.qos.logback.classic.AsyncAppender"> |
| 73 | <queueSize>1000</queueSize> |
| 74 | <includeCallerData>true</includeCallerData> |
| 75 | <appender-ref ref="SANE"/> |
| 76 | </appender> |
| 77 | <appender name="METRIC" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 78 | <file>${logDirectory}/rest/metrics.log</file> |
| 79 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 80 | <fileNamePattern>${logDirectory}/rest/metrics.log.%d{yyyy-MM-dd} |
| 81 | </fileNamePattern> |
| 82 | </rollingPolicy> |
| 83 | <encoder> |
| 84 | <pattern>${metricPattern}</pattern> |
| 85 | </encoder> |
| 86 | </appender> |
| 87 | <appender name="asyncMETRIC" class="ch.qos.logback.classic.AsyncAppender"> |
| 88 | <queueSize>1000</queueSize> |
| 89 | <includeCallerData>true</includeCallerData> |
| 90 | <appender-ref ref="METRIC"/> |
| 91 | </appender> |
| 92 | <appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 93 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 94 | <level>DEBUG</level> |
| 95 | <onMatch>ACCEPT</onMatch> |
| 96 | <onMismatch>DENY</onMismatch> |
| 97 | </filter> |
| 98 | <file>${logDirectory}/rest/debug.log</file> |
| 99 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 100 | <fileNamePattern>${logDirectory}/rest/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 101 | </rollingPolicy> |
| 102 | <encoder> |
| 103 | <pattern>${debugPattern}</pattern> |
| 104 | </encoder> |
| 105 | </appender> |
| 106 | <appender name="asyncDEBUG" class="ch.qos.logback.classic.AsyncAppender"> |
| 107 | <queueSize>1000</queueSize> |
| 108 | <appender-ref ref="DEBUG"/> |
| 109 | <includeCallerData>true</includeCallerData> |
| 110 | </appender> |
| 111 | <appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 112 | <file>${logDirectory}/rest/error.log</file> |
| 113 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 114 | <fileNamePattern>${logDirectory}/rest/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 115 | </rollingPolicy> |
| 116 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 117 | <level>WARN</level> |
| 118 | </filter> |
| 119 | <encoder> |
| 120 | <pattern>${errorPattern}</pattern> |
| 121 | </encoder> |
| 122 | </appender> |
| 123 | <appender name="asyncERROR" class="ch.qos.logback.classic.AsyncAppender"> |
| 124 | <queueSize>1000</queueSize> |
| 125 | <appender-ref ref="ERROR"/> |
| 126 | </appender> |
| 127 | <appender name="AUDIT" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 128 | <file>${logDirectory}/rest/audit.log</file> |
| 129 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 130 | <fileNamePattern>${logDirectory}/rest/audit.log.%d{yyyy-MM-dd} |
| 131 | </fileNamePattern> |
| 132 | </rollingPolicy> |
| 133 | <encoder> |
| 134 | <pattern>${auditPattern}</pattern> |
| 135 | </encoder> |
| 136 | </appender> |
| 137 | <appender name="asyncAUDIT" class="ch.qos.logback.classic.AsyncAppender"> |
| 138 | <queueSize>1000</queueSize> |
| 139 | <includeCallerData>true</includeCallerData> |
| 140 | <appender-ref ref="AUDIT"/> |
| 141 | </appender> |
| 142 | <appender name="translog" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 143 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 144 | <level>DEBUG</level> |
| 145 | <onMatch>ACCEPT</onMatch> |
| 146 | <onMismatch>DENY</onMismatch> |
| 147 | </filter> |
| 148 | <file>${logDirectory}/rest/translog.log</file> |
| 149 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 150 | <fileNamePattern>${logDirectory}/rest/translog.log.%d{yyyy-MM-dd} |
| 151 | </fileNamePattern> |
| 152 | </rollingPolicy> |
| 153 | <encoder> |
| 154 | <pattern>${transLogPattern}</pattern> |
| 155 | </encoder> |
| 156 | </appender> |
| 157 | <appender name="asynctranslog" class="ch.qos.logback.classic.AsyncAppender"> |
| 158 | <queueSize>1000</queueSize> |
| 159 | <includeCallerData>true</includeCallerData> |
| 160 | <appender-ref ref="translog"/> |
| 161 | </appender> |
| 162 | <appender name="dmaapAAIEventConsumer" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 163 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 164 | <level>WARN</level> |
| 165 | </filter> |
| 166 | <File>${logDirectory}/dmaapAAIEventConsumer/error.log</File> |
| 167 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 168 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/error.log.%d{yyyy-MM-dd} |
| 169 | </fileNamePattern> |
| 170 | </rollingPolicy> |
| 171 | <encoder> |
| 172 | <pattern>${"errorPattern"}</pattern> |
| 173 | </encoder> |
| 174 | </appender> |
| 175 | <appender name="dmaapAAIEventConsumerInfo" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 176 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 177 | <level>INFO</level> |
| 178 | <onMatch>ACCEPT</onMatch> |
| 179 | <onMismatch>DENY</onMismatch> |
| 180 | </filter> |
| 181 | <File>${logDirectory}/dmaapAAIEventConsumer/dmaap-transaction.log</File> |
| 182 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 183 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/dmaap-transaction.log.%d{yyyy-MM-dd} |
| 184 | </fileNamePattern> |
| 185 | </rollingPolicy> |
| 186 | <encoder> |
| 187 | <pattern>${debugPattern}</pattern> |
| 188 | </encoder> |
| 189 | </appender> |
| 190 | <appender name="dmaapAAIEventConsumerDebug" 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> |
| 202 | <pattern>${debugPattern}</pattern> |
| 203 | </encoder> |
| 204 | </appender> |
| 205 | <appender name="dmaapAAIEventConsumerMetric" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 206 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 207 | <level>INFO</level> |
| 208 | <onMatch>ACCEPT</onMatch> |
| 209 | <onMismatch>DENY</onMismatch> |
| 210 | </filter> |
| 211 | <File>${logDirectory}/dmaapAAIEventConsumer/metrics.log</File> |
| 212 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 213 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/metrics.log.%d{yyyy-MM-dd} |
| 214 | </fileNamePattern> |
| 215 | </rollingPolicy> |
| 216 | <encoder> |
| 217 | <pattern>${metricPattern}</pattern> |
| 218 | </encoder> |
| 219 | </appender> |
| 220 | <appender name="external" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 221 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 222 | <level>WARN</level> |
| 223 | </filter> |
| 224 | <file>${logDirectory}/external/external.log</file> |
| 225 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 226 | <fileNamePattern>${logDirectory}/external/external.log.%d{yyyy-MM-dd} |
| 227 | </fileNamePattern> |
| 228 | </rollingPolicy> |
| 229 | <encoder> |
| 230 | <pattern>${debugPattern}</pattern> |
| 231 | </encoder> |
| 232 | </appender> |
| 233 | <!-- DataGrooming logs started --> |
| 234 | <appender name="dataGrooming" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 235 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 236 | <level>WARN</level> |
| 237 | </filter> |
| 238 | <File>${logDirectory}/dataGrooming/error.log</File> |
| 239 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 240 | <fileNamePattern>${logDirectory}/dataGrooming/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 241 | </rollingPolicy> |
| 242 | <encoder> |
| 243 | <pattern>${errorPattern}</pattern> |
| 244 | </encoder> |
| 245 | </appender> |
| 246 | <appender name="dataGroomingdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 247 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 248 | <level>DEBUG</level> |
| 249 | <onMatch>ACCEPT</onMatch> |
| 250 | <onMismatch>DENY</onMismatch> |
| 251 | </filter> |
| 252 | <File>${logDirectory}/dataGrooming/debug.log</File> |
| 253 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 254 | <fileNamePattern>${logDirectory}/dataGrooming/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 255 | </rollingPolicy> |
| 256 | <encoder> |
| 257 | <pattern>${debugPattern}</pattern> |
| 258 | </encoder> |
| 259 | </appender> |
| 260 | <appender name="dataGroomingaudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 261 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 262 | <level>INFO</level> |
| 263 | <onMatch>ACCEPT</onMatch> |
| 264 | <onMismatch>DENY</onMismatch> |
| 265 | </filter> |
| 266 | <File>${logDirectory}/dataGrooming/audit.log</File> |
| 267 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 268 | <fileNamePattern>${logDirectory}/dataGrooming/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 269 | </rollingPolicy> |
| 270 | <encoder> |
| 271 | <pattern>${auditPattern}</pattern> |
| 272 | </encoder> |
| 273 | </appender> |
| 274 | <!-- DataGrooming logs ended --> |
| 275 | <!-- DataSnapshot logs started --> |
| 276 | <appender name="dataSnapshot" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 277 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 278 | <level>WARN</level> |
| 279 | </filter> |
| 280 | <File>${logDirectory}/dataSnapshot/error.log</File> |
| 281 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 282 | <fileNamePattern>${logDirectory}/dataSnapshot/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 283 | </rollingPolicy> |
| 284 | <encoder> |
| 285 | <pattern>${errorPattern}</pattern> |
| 286 | </encoder> |
| 287 | </appender> |
| 288 | <appender name="dataSnapshotdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 289 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 290 | <level>DEBUG</level> |
| 291 | <onMatch>ACCEPT</onMatch> |
| 292 | <onMismatch>DENY</onMismatch> |
| 293 | </filter> |
| 294 | <File>${logDirectory}/dataSnapshot/debug.log</File> |
| 295 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 296 | <fileNamePattern>${logDirectory}/dataSnapshot/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 297 | </rollingPolicy> |
| 298 | <encoder> |
| 299 | <pattern>${debugPattern}</pattern> |
| 300 | </encoder> |
| 301 | </appender> |
| 302 | <appender name="dataSnapshotaudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 303 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 304 | <level>INFO</level> |
| 305 | <onMatch>ACCEPT</onMatch> |
| 306 | <onMismatch>DENY</onMismatch> |
| 307 | </filter> |
| 308 | <File>${logDirectory}/dataSnapshot/audit.log</File> |
| 309 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 310 | <fileNamePattern>${logDirectory}/dataSnapshot/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 311 | </rollingPolicy> |
| 312 | <encoder> |
| 313 | <pattern>${auditPattern}</pattern> |
| 314 | </encoder> |
| 315 | </appender> |
| 316 | <!-- DataSnapshot logs ended --> |
| 317 | <!-- HistoryTruncate logs started --> |
| 318 | <appender name="historyTruncate" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 319 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 320 | <level>WARN</level> |
| 321 | </filter> |
| 322 | <File>${logDirectory}/historyTruncate/error.log</File> |
| 323 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 324 | <fileNamePattern>${logDirectory}/historyTruncate/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 325 | </rollingPolicy> |
| 326 | <encoder> |
| 327 | <pattern>${errorPattern}</pattern> |
| 328 | </encoder> |
| 329 | </appender> |
| 330 | <appender name="historyTruncatedebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 331 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 332 | <level>DEBUG</level> |
| 333 | <onMatch>ACCEPT</onMatch> |
| 334 | <onMismatch>DENY</onMismatch> |
| 335 | </filter> |
| 336 | <File>${logDirectory}/historyTruncate/debug.log</File> |
| 337 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 338 | <fileNamePattern>${logDirectory}/historyTruncate/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 339 | </rollingPolicy> |
| 340 | <encoder> |
| 341 | <pattern>${debugPattern}</pattern> |
| 342 | </encoder> |
| 343 | </appender> |
| 344 | <appender name="historyTruncateaudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 345 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 346 | <level>INFO</level> |
| 347 | <onMatch>ACCEPT</onMatch> |
| 348 | <onMismatch>DENY</onMismatch> |
| 349 | </filter> |
| 350 | <File>${logDirectory}/historyTruncate/audit.log</File> |
| 351 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 352 | <fileNamePattern>${logDirectory}/historyTruncate/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 353 | </rollingPolicy> |
| 354 | <encoder> |
| 355 | <pattern>${auditPattern}</pattern> |
| 356 | </encoder> |
| 357 | </appender> |
| 358 | <!-- historyTruncate logs ended --> |
| 359 | <!-- CreateDBSchema logs started --> |
| 360 | <appender name="createDBSchema" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 361 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 362 | <level>WARN</level> |
| 363 | </filter> |
| 364 | <File>${logDirectory}/createDBSchema/error.log</File> |
| 365 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 366 | <fileNamePattern>${logDirectory}/createDBSchema/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 367 | </rollingPolicy> |
| 368 | <encoder> |
| 369 | <pattern>${"errorPattern"}</pattern> |
| 370 | </encoder> |
| 371 | </appender> |
| 372 | <appender name="createDBSchemadebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 373 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 374 | <level>DEBUG</level> |
| 375 | <onMatch>ACCEPT</onMatch> |
| 376 | <onMismatch>DENY</onMismatch> |
| 377 | </filter> |
| 378 | <File>${logDirectory}/createDBSchema/debug.log</File> |
| 379 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 380 | <fileNamePattern>${logDirectory}/createDBSchema/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 381 | </rollingPolicy> |
| 382 | <encoder> |
| 383 | <pattern>${debugPattern}</pattern> |
| 384 | </encoder> |
| 385 | </appender> |
| 386 | <appender name="createDBSchemametric" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 387 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 388 | <level>INFO</level> |
| 389 | <onMatch>ACCEPT</onMatch> |
| 390 | <onMismatch>DENY</onMismatch> |
| 391 | </filter> |
| 392 | <File>${logDirectory}/createDBSchema/metrics.log</File> |
| 393 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 394 | <fileNamePattern>${logDirectory}/createDBSchema/metrics.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 395 | </rollingPolicy> |
| 396 | <encoder> |
| 397 | <pattern>${metricPattern}</pattern> |
| 398 | </encoder> |
| 399 | </appender> |
| 400 | <!-- CreateDBSchema logs ended --> |
| 401 | <!-- DataCleanupTasks logs started --> |
| 402 | <appender name="dataCleanuperror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 403 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 404 | <level>WARN</level> |
| 405 | </filter> |
| 406 | <File>${logDirectory}/misc/error.log</File> |
| 407 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 408 | <fileNamePattern>${logDirectory}/misc/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 409 | </rollingPolicy> |
| 410 | <encoder> |
| 411 | <pattern>${"errorPattern"}</pattern> |
| 412 | </encoder> |
| 413 | </appender> |
| 414 | <appender name="dataCleanupdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 415 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 416 | <level>DEBUG</level> |
| 417 | <onMatch>ACCEPT</onMatch> |
| 418 | <onMismatch>DENY</onMismatch> |
| 419 | </filter> |
| 420 | <File>${logDirectory}/misc/debug.log</File> |
| 421 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 422 | <fileNamePattern>${logDirectory}/misc/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 423 | </rollingPolicy> |
| 424 | <encoder> |
| 425 | <pattern>${debugPattern}</pattern> |
| 426 | </encoder> |
| 427 | </appender> |
| 428 | <appender name="dataCleanupaudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 429 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 430 | <level>INFO</level> |
| 431 | <onMatch>ACCEPT</onMatch> |
| 432 | <onMismatch>DENY</onMismatch> |
| 433 | </filter> |
| 434 | <File>${logDirectory}/misc/audit.log</File> |
| 435 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 436 | <fileNamePattern>${logDirectory}/misc/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 437 | </rollingPolicy> |
| 438 | <encoder> |
| 439 | <pattern>${auditPattern}</pattern> |
| 440 | </encoder> |
| 441 | </appender> |
| 442 | <!-- DataCleanupTasks logs ended --> |
| 443 | <!-- dupeTool logs started --> |
| 444 | <appender name="dupeTooldebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 445 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 446 | <level>DEBUG</level> |
| 447 | <onMatch>ACCEPT</onMatch> |
| 448 | <onMismatch>DENY</onMismatch> |
| 449 | </filter> |
| 450 | <File>${logDirectory}/dupetool/debug.log</File> |
| 451 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 452 | <fileNamePattern>${logDirectory}/dupetool/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 453 | </rollingPolicy> |
| 454 | <encoder> |
| 455 | <pattern>${debugPattern}</pattern> |
| 456 | </encoder> |
| 457 | </appender> |
| 458 | <appender name="dupeToolerror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 459 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 460 | <level>WARN</level> |
| 461 | <onMatch>ACCEPT</onMatch> |
| 462 | <onMismatch>DENY</onMismatch> |
| 463 | </filter> |
| 464 | <File>${logDirectory}/dupeTool/error.log</File> |
| 465 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 466 | <fileNamePattern>${logDirectory}/dupeTool/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 467 | </rollingPolicy> |
| 468 | <encoder> |
| 469 | <pattern>${errorPattern}</pattern> |
| 470 | </encoder> |
| 471 | </appender> |
| 472 | <!-- dupeTool logs ended --> |
| 473 | <!-- dynamicPayloadGenerator log starts here --> |
| 474 | <appender name="dynamicPayloadGeneratorError" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 475 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 476 | <level>WARN</level> |
| 477 | </filter> |
| 478 | <File>${logDirectory}/dynamicPayloadGenerator/error.log</File> |
| 479 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 480 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 481 | </rollingPolicy> |
| 482 | <encoder> |
| 483 | <pattern>${errorPattern}</pattern> |
| 484 | </encoder> |
| 485 | </appender> |
| 486 | <appender name="dynamicPayloadGeneratorDebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 487 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 488 | <level>DEBUG</level> |
| 489 | <onMatch>ACCEPT</onMatch> |
| 490 | <onMismatch>DENY</onMismatch> |
| 491 | </filter> |
| 492 | <File>${logDirectory}/dynamicPayloadGenerator/debug.log</File> |
| 493 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 494 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 495 | </rollingPolicy> |
| 496 | <encoder> |
| 497 | <pattern>${debugPattern}</pattern> |
| 498 | </encoder> |
| 499 | </appender> |
| 500 | <appender name="dynamicPayloadGeneratorAudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 501 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 502 | <level>INFO</level> |
| 503 | <onMatch>ACCEPT</onMatch> |
| 504 | <onMismatch>DENY</onMismatch> |
| 505 | </filter> |
| 506 | <File>${logDirectory}/dataExport/audit.log</File> |
| 507 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 508 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 509 | </rollingPolicy> |
| 510 | <encoder> |
| 511 | <pattern>${auditPattern}</pattern> |
| 512 | </encoder> |
| 513 | </appender> |
| 514 | <!-- dynamicPayloadGenerator log ends here --> |
| 515 | <!-- forceDelete logs started --> |
| 516 | <appender name="forceDeletedebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 517 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 518 | <level>DEBUG</level> |
| 519 | <onMatch>ACCEPT</onMatch> |
| 520 | <onMismatch>DENY</onMismatch> |
| 521 | </filter> |
| 522 | <File>${logDirectory}/forceDelete/debug.log</File> |
| 523 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 524 | <fileNamePattern>${logDirectory}/forceDelete/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 525 | </rollingPolicy> |
| 526 | <encoder> |
| 527 | <pattern>${debugPattern}</pattern> |
| 528 | </encoder> |
| 529 | </appender> |
| 530 | <appender name="forceDeleteerror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 531 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 532 | <level>WARN</level> |
| 533 | <onMatch>ACCEPT</onMatch> |
| 534 | <onMismatch>DENY</onMismatch> |
| 535 | </filter> |
| 536 | <File>${logDirectory}/forceDelete/error.log</File> |
| 537 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 538 | <fileNamePattern>${logDirectory}/forceDelete/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 539 | </rollingPolicy> |
| 540 | <encoder> |
| 541 | <pattern>${errorPattern}</pattern> |
| 542 | </encoder> |
| 543 | </appender> |
| 544 | <!-- forceDelete logs ended --> |
| 545 | <!-- migration logs started --> |
| 546 | <appender name="migrationdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 547 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 548 | <level>DEBUG</level> |
| 549 | <onMatch>ACCEPT</onMatch> |
| 550 | <onMismatch>DENY</onMismatch> |
| 551 | </filter> |
| 552 | <File>${logDirectory}/migration/debug.log</File> |
| 553 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 554 | <fileNamePattern>${logDirectory}/migration/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 555 | </rollingPolicy> |
| 556 | <encoder> |
| 557 | <pattern>${debugPattern}</pattern> |
| 558 | </encoder> |
| 559 | </appender> |
| 560 | <appender name="migrationerror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 561 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 562 | <level>WARN</level> |
| 563 | <onMatch>ACCEPT</onMatch> |
| 564 | <onMismatch>DENY</onMismatch> |
| 565 | </filter> |
| 566 | <File>${logDirectory}/migration/error.log</File> |
| 567 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 568 | <fileNamePattern>${logDirectory}/migration/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 569 | </rollingPolicy> |
| 570 | <encoder> |
| 571 | <pattern>${errorPattern}</pattern> |
| 572 | </encoder> |
| 573 | </appender> |
| 574 | <!-- migration logs ended --> |
| 575 | <!-- DataGrooming logs started --> |
| 576 | <appender name="dataExportError" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 577 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 578 | <level>WARN</level> |
| 579 | </filter> |
| 580 | <File>${logDirectory}/dataExport/error.log</File> |
| 581 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 582 | <fileNamePattern>${logDirectory}/dataExport/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 583 | </rollingPolicy> |
| 584 | <encoder> |
| 585 | <pattern>${errorPattern}</pattern> |
| 586 | </encoder> |
| 587 | </appender> |
| 588 | <appender name="dataExportDebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 589 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 590 | <level>DEBUG</level> |
| 591 | <onMatch>ACCEPT</onMatch> |
| 592 | <onMismatch>DENY</onMismatch> |
| 593 | </filter> |
| 594 | <File>${logDirectory}/dataExport/debug.log</File> |
| 595 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 596 | <fileNamePattern>${logDirectory}/dataExport/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 597 | </rollingPolicy> |
| 598 | <encoder> |
| 599 | <pattern>${debugPattern}</pattern> |
| 600 | </encoder> |
| 601 | </appender> |
| 602 | <appender name="dataExportAudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 603 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 604 | <level>INFO</level> |
| 605 | <onMatch>ACCEPT</onMatch> |
| 606 | <onMismatch>DENY</onMismatch> |
| 607 | </filter> |
| 608 | <File>${logDirectory}/dataExport/audit.log</File> |
| 609 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 610 | <fileNamePattern>${logDirectory}/dataExport/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 611 | </rollingPolicy> |
| 612 | <encoder> |
| 613 | <pattern>${auditPattern}</pattern> |
| 614 | </encoder> |
| 615 | </appender> |
| 616 | <!-- schemaMod log starts --> |
| 617 | <appender name="schemaModdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 618 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 619 | <level>DEBUG</level> |
| 620 | <onMatch>ACCEPT</onMatch> |
| 621 | <onMismatch>DENY</onMismatch> |
| 622 | </filter> |
| 623 | <File>${logDirectory}/schemaMod/debug.log</File> |
| 624 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 625 | <fileNamePattern>${logDirectory}/schemaMod/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 626 | </rollingPolicy> |
| 627 | <encoder> |
| 628 | <pattern>${debugPattern}</pattern> |
| 629 | </encoder> |
| 630 | </appender> |
| 631 | <appender name="schemaModerror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 632 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 633 | <level>WARN</level> |
| 634 | <onMatch>ACCEPT</onMatch> |
| 635 | <onMismatch>DENY</onMismatch> |
| 636 | </filter> |
| 637 | <File>${logDirectory}/schemaMod/error.log</File> |
| 638 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 639 | <fileNamePattern>${logDirectory}/schemaMod/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 640 | </rollingPolicy> |
| 641 | <encoder> |
| 642 | <pattern>${errorPattern}</pattern> |
| 643 | </encoder> |
| 644 | </appender> |
| 645 | <!-- schemaMod log ends --> |
| 646 | <!-- uniquePropertyCheck log starts here --> |
| 647 | <appender name="uniquePropertyCheckdebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 648 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 649 | <level>DEBUG</level> |
| 650 | <onMatch>ACCEPT</onMatch> |
| 651 | <onMismatch>DENY</onMismatch> |
| 652 | </filter> |
| 653 | <File>${logDirectory}/uniquePropertyCheck/debug.log</File> |
| 654 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 655 | <fileNamePattern>${logDirectory}/uniquePropertyCheck/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 656 | </rollingPolicy> |
| 657 | <encoder> |
| 658 | <pattern>${debugPattern}</pattern> |
| 659 | </encoder> |
| 660 | </appender> |
| 661 | <appender name="uniquePropertyCheckmetric" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 662 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 663 | <level>INFO</level> |
| 664 | <onMatch>ACCEPT</onMatch> |
| 665 | <onMismatch>DENY</onMismatch> |
| 666 | </filter> |
| 667 | <File>${logDirectory}/uniquePropertyCheck/metrics.log</File> |
| 668 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 669 | <fileNamePattern>${logDirectory}/uniquePropertyCheck/metrics.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 670 | </rollingPolicy> |
| 671 | <encoder> |
| 672 | <pattern>${metricPattern}</pattern> |
| 673 | </encoder> |
| 674 | </appender> |
| 675 | <appender name="uniquePropertyCheckerror" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 676 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 677 | <level>WARN</level> |
| 678 | <onMatch>ACCEPT</onMatch> |
| 679 | <onMismatch>DENY</onMismatch> |
| 680 | </filter> |
| 681 | <File>${logDirectory}/uniquePropertyCheck/error.log</File> |
| 682 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 683 | <fileNamePattern>${logDirectory}/uniquePropertyCheck/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 684 | </rollingPolicy> |
| 685 | <encoder> |
| 686 | <pattern>${errorPattern}</pattern> |
| 687 | </encoder> |
| 688 | </appender> |
| 689 | <!-- uniquePropertyCheck log ends here --> |
| 690 | <!-- dynamicPayloadGenerator log starts here --> |
| 691 | <appender name="dynamicPayloadGeneratorError" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 692 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 693 | <level>WARN</level> |
| 694 | </filter> |
| 695 | <File>${logDirectory}/dynamicPayloadGenerator/error.log</File> |
| 696 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 697 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/error.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 698 | </rollingPolicy> |
| 699 | <encoder> |
| 700 | <pattern>${errorPattern}</pattern> |
| 701 | </encoder> |
| 702 | </appender> |
| 703 | <appender name="dynamicPayloadGeneratorDebug" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 704 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 705 | <level>DEBUG</level> |
| 706 | <onMatch>ACCEPT</onMatch> |
| 707 | <onMismatch>DENY</onMismatch> |
| 708 | </filter> |
| 709 | <File>${logDirectory}/dynamicPayloadGenerator/debug.log</File> |
| 710 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 711 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/debug.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 712 | </rollingPolicy> |
| 713 | <encoder> |
| 714 | <pattern>${debugPattern}</pattern> |
| 715 | </encoder> |
| 716 | </appender> |
| 717 | <appender name="dynamicPayloadGeneratorAudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 718 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 719 | <level>INFO</level> |
| 720 | <onMatch>ACCEPT</onMatch> |
| 721 | <onMismatch>DENY</onMismatch> |
| 722 | </filter> |
| 723 | <File>${logDirectory}/dataExport/audit.log</File> |
| 724 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 725 | <fileNamePattern>${logDirectory}/dynamicPayloadGenerator/audit.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 726 | </rollingPolicy> |
| 727 | <encoder> |
| 728 | <pattern>${auditPattern}</pattern> |
| 729 | </encoder> |
| 730 | </appender> |
| 731 | <!-- dynamicPayloadGenerator log ends here --> |
| 732 | <logger name="org.onap.aai" level="DEBUG" additivity="false"> |
| 733 | <appender-ref ref="asyncDEBUG"/> |
| 734 | <appender-ref ref="asyncSANE"/> |
| 735 | <appender-ref ref="STDOUT"/> |
| 736 | </logger> |
| 737 | <!-- Spring related loggers --> |
| 738 | <logger name="org.springframework" level="WARN"/> |
| 739 | <logger name="org.springframework.beans" level="WARN"/> |
| 740 | <logger name="org.springframework.web" level="WARN"/> |
| 741 | <logger name="com.blog.spring.jms" level="WARN"/> |
| 742 | <logger name="com.jayway.jsonpath" level="WARN"/> |
| 743 | <!-- AJSC Services (bootstrap services) --> |
| 744 | <logger name="ajsc" level="WARN"/> |
| 745 | <logger name="ajsc.RouteMgmtService" level="WARN"/> |
| 746 | <logger name="ajsc.ComputeService" level="WARN"/> |
| 747 | <logger name="ajsc.VandelayService" level="WARN"/> |
| 748 | <logger name="ajsc.FilePersistenceService" level="WARN"/> |
| 749 | <logger name="ajsc.UserDefinedJarService" level="WARN"/> |
| 750 | <logger name="ajsc.UserDefinedBeansDefService" level="WARN"/> |
| 751 | <logger name="ajsc.LoggingConfigurationService" level="WARN"/> |
| 752 | <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet |
| 753 | logging) --> |
| 754 | <logger name="org.codehaus.groovy" level="WARN"/> |
| 755 | <logger name="com.att.scamper" level="WARN"/> |
| 756 | <logger name="ajsc.utils" level="WARN"/> |
| 757 | <logger name="ajsc.utils.DME2Helper" level="WARN"/> |
| 758 | <logger name="ajsc.filters" level="WARN"/> |
| 759 | <logger name="ajsc.beans.interceptors" level="WARN"/> |
| 760 | <logger name="ajsc.restlet" level="WARN"/> |
| 761 | <logger name="ajsc.servlet" level="WARN"/> |
| 762 | <logger name="com.att.ajsc" level="WARN"/> |
| 763 | <logger name="com.att.ajsc.csi.logging" level="WARN"/> |
| 764 | <logger name="com.att.ajsc.filemonitor" level="WARN"/> |
| 765 | <logger name="com.netflix.loadbalancer" level="WARN"/> |
| 766 | <logger name="org.apache.zookeeper" level="WARN"/> |
| 767 | <!-- Other Loggers that may help troubleshoot --> |
| 768 | <logger name="net.sf" level="WARN"/> |
| 769 | <logger name="org.apache.commons.httpclient" level="WARN"/> |
| 770 | <logger name="org.apache.commons" level="WARN"/> |
| 771 | <logger name="org.apache.coyote" level="WARN"/> |
| 772 | <logger name="org.apache.jasper" level="WARN"/> |
| 773 | <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging. |
| 774 | May aid in troubleshooting) --> |
| 775 | <logger name="org.apache.camel" level="WARN"/> |
| 776 | <logger name="org.apache.cxf" level="WARN"/> |
| 777 | <logger name="org.apache.camel.processor.interceptor" level="WARN"/> |
| 778 | <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN"/> |
| 779 | <logger name="org.apache.cxf.service" level="WARN"/> |
| 780 | <logger name="org.restlet" level="WARN"/> |
| 781 | <logger name="org.apache.camel.component.restlet" level="WARN"/> |
| 782 | <logger name="org.hibernate.validator" level="WARN"/> |
| 783 | <logger name="org.hibernate" level="WARN"/> |
| 784 | <logger name="org.hibernate.ejb" level="OFF"/> |
| 785 | <!-- logback internals logging --> |
| 786 | <logger name="ch.qos.logback.classic" level="WARN"/> |
| 787 | <logger name="ch.qos.logback.core" level="WARN"/> |
| 788 | <logger name="org.eclipse.jetty" level="WARN"/> |
| 789 | <!-- logback jms appenders & loggers definition starts here --> |
| 790 | <appender name="auditLogs" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 791 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"/> |
| 792 | <file>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.log |
| 793 | </file> |
| 794 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 795 | <fileNamePattern>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 796 | </fileNamePattern> |
| 797 | <minIndex>1</minIndex> |
| 798 | <maxIndex>9</maxIndex> |
| 799 | </rollingPolicy> |
| 800 | <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 801 | <maxFileSize>5MB</maxFileSize> |
| 802 | </triggeringPolicy> |
| 803 | <encoder> |
| 804 | <pattern>auditPattern</pattern> |
| 805 | </encoder> |
| 806 | </appender> |
| 807 | <appender name="perfLogs" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 808 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"/> |
| 809 | <file>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.log |
| 810 | </file> |
| 811 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 812 | <fileNamePattern>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 813 | </fileNamePattern> |
| 814 | <minIndex>1</minIndex> |
| 815 | <maxIndex>9</maxIndex> |
| 816 | </rollingPolicy> |
| 817 | <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 818 | <maxFileSize>5MB</maxFileSize> |
| 819 | </triggeringPolicy> |
| 820 | <encoder> |
| 821 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 822 | </encoder> |
| 823 | </appender> |
| 824 | <appender name="auth" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 825 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 826 | <level>DEBUG</level> |
| 827 | </filter> |
| 828 | <file>${logDirectory}/auth/auth.log</file> |
| 829 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 830 | <fileNamePattern>${logDirectory}/auth/auth.log.%d{yyyy-MM-dd} |
| 831 | </fileNamePattern> |
| 832 | </rollingPolicy> |
| 833 | <encoder> |
| 834 | <pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}[%thread] %-5level %logger{1024} - %msg%n</pattern> |
| 835 | </encoder> |
| 836 | </appender> |
| 837 | <appender name="asyncAUTH" class="ch.qos.logback.classic.AsyncAppender"> |
| 838 | <queueSize>1000</queueSize> |
| 839 | <includeCallerData>true</includeCallerData> |
| 840 | <appender-ref ref="auth"/> |
| 841 | </appender> |
| 842 | <logger name="AuditRecord" level="INFO" additivity="false"> |
| 843 | <appender-ref ref="auditLogs"/> |
| 844 | </logger> |
| 845 | <logger name="AuditRecord_DirectCall" level="INFO" additivity="false"> |
| 846 | <appender-ref ref="auditLogs"/> |
| 847 | </logger> |
| 848 | <logger name="PerfTrackerRecord" level="INFO" additivity="false"> |
| 849 | <appender-ref ref="perfLogs"/> |
| 850 | </logger> |
| 851 | <!-- logback jms appenders & loggers definition ends here --> |
| 852 | <logger name="org.onap.aai.aaf" level="DEBUG" additivity="false"> |
| 853 | <appender-ref ref="asyncAUTH"/> |
| 854 | </logger> |
| 855 | <logger name="org.onap.aai.aailog.filter.RestClientLoggingInterceptor" level="INFO"> |
| 856 | <appender-ref ref="asyncMETRIC"/> |
| 857 | </logger> |
| 858 | <logger name="org.onap.logging.filter.base.AbstractMetricLogFilter" level="INFO"> |
| 859 | <appender-ref ref="asyncMETRIC"/> |
| 860 | </logger> |
| 861 | <logger name="org.onap.aai.aailog.logs.AaiScheduledTaskAuditLog" level="INFO"> |
| 862 | <appender-ref ref="asyncAUDIT"/> |
| 863 | </logger> |
| 864 | <logger name="org.onap.logging.filter.base.AbstractAuditLogFilter" level="INFO"> |
| 865 | <appender-ref ref="asyncAUDIT"/> |
| 866 | </logger> |
| 867 | <logger name="org.onap.aai.aailog.logs.AaiDBMetricLog" level="INFO"> |
| 868 | <appender-ref ref="asyncMETRIC"/> |
| 869 | </logger> |
| 870 | <logger name="org.onap.aai.logging.ErrorLogHelper" level="WARN"> |
| 871 | <appender-ref ref="asyncERROR"/> |
| 872 | </logger> |
| 873 | <logger name="org.onap.aai.interceptors.post" level="DEBUG" additivity="false"> |
| 874 | <appender-ref ref="asynctranslog"/> |
| 875 | </logger> |
| 876 | <logger name="org.onap.aai.dmaap" level="DEBUG" additivity="false"> |
| 877 | <appender-ref ref="dmaapAAIEventConsumer"/> |
| 878 | <appender-ref ref="dmaapAAIEventConsumerDebug"/> |
| 879 | <appender-ref ref="dmaapAAIEventConsumerMetric"/> |
| 880 | </logger> |
| 881 | <logger name="org.onap.aai.datasnapshot" level="DEBUG" additivity="false"> |
| 882 | <appender-ref ref="dataSnapshot"/> |
| 883 | <appender-ref ref="dataSnapshotdebug"/> |
| 884 | <appender-ref ref="dataSnapshotaudit"/> |
| 885 | <appender-ref ref="STDOUT"/> |
| 886 | </logger> |
| 887 | <logger name="org.onap.aai.historytruncate" level="DEBUG" additivity="false"> |
| 888 | <appender-ref ref="historyTruncate"/> |
| 889 | <appender-ref ref="historyTruncatedebug"/> |
| 890 | <appender-ref ref="historyTruncateaudit"/> |
| 891 | </logger> |
| 892 | <logger name="org.onap.aai.datagrooming" level="DEBUG" additivity="false"> |
| 893 | <appender-ref ref="dataGrooming"/> |
| 894 | <appender-ref ref="dataGroomingdebug"/> |
| 895 | <appender-ref ref="dataGroomingaudit"/> |
| 896 | <appender-ref ref="STDOUT"/> |
| 897 | </logger> |
| 898 | <logger name="org.onap.aai.schema" level="DEBUG" additivity="false"> |
| 899 | <appender-ref ref="createDBSchema"/> |
| 900 | <appender-ref ref="createDBSchemadebug"/> |
| 901 | <appender-ref ref="createDBSchemametric"/> |
| 902 | </logger> |
| 903 | <logger name="org.onap.aai.dbgen.DupeTool" level="DEBUG" additivity="false"> |
| 904 | <appender-ref ref="dupeTooldebug"/> |
| 905 | <appender-ref ref="dupeToolerror"/> |
| 906 | </logger> |
| 907 | <logger name="org.onap.aai.dbgen.DynamicPayloadGenerator" level="DEBUG" additivity="false"> |
| 908 | <appender-ref ref="dynamicPayloadGeneratorAudit"/> |
| 909 | <appender-ref ref="dynamicPayloadGeneratorError"/> |
| 910 | <appender-ref ref="dynamicPayloadGeneratorDebug"/> |
| 911 | </logger> |
| 912 | <logger name="org.onap.aai.dbgen" level="DEBUG" additivity="false"> |
| 913 | <appender-ref ref="createDBSchema"/> |
| 914 | <appender-ref ref="createDBSchemadebug"/> |
| 915 | <appender-ref ref="createDBSchemametric"/> |
| 916 | </logger> |
| 917 | <logger name="org.onap.aai.datacleanup" level="DEBUG" additivity="false"> |
| 918 | <appender-ref ref="dataCleanuperror"/> |
| 919 | <appender-ref ref="dataCleanupdebug"/> |
| 920 | <appender-ref ref="dataCleanupaudit"/> |
| 921 | <appender-ref ref="STDOUT"/> |
| 922 | </logger> |
| 923 | <logger name="org.onap.aai.migration" level="DEBUG" additivity="false"> |
| 924 | <appender-ref ref="migrationdebug"/> |
| 925 | <appender-ref ref="migrationerror"/> |
| 926 | </logger> |
| 927 | <logger name="org.onap.aai.util.SendMigrationNotifications" level="DEBUG" additivity="false"> |
| 928 | <appender-ref ref="migrationdebug"/> |
| 929 | <appender-ref ref="migrationerror"/> |
| 930 | </logger> |
| 931 | <logger name="org.onap.aai.util.SendDeleteMigrationNotifications" level="DEBUG" additivity="false"> |
| 932 | <appender-ref ref="migrationdebug"/> |
| 933 | <appender-ref ref="migrationerror"/> |
| 934 | </logger> |
| 935 | <logger name="org.onap.aai.dataexport" level="DEBUG" additivity="false"> |
| 936 | <appender-ref ref="dataExportError"/> |
| 937 | <appender-ref ref="dataExportDebug"/> |
| 938 | <appender-ref ref="dataExportAudit"/> |
| 939 | <appender-ref ref="STDOUT"/> |
| 940 | </logger> |
| 941 | <logger name="org.apache" level="WARN"/> |
| 942 | <logger name="org.zookeeper" level="WARN"/> |
| 943 | <logger name="com.netflix" level="WARN"/> |
| 944 | <logger name="org.janusgraph" level="WARN"/> |
| 945 | <logger name="com.att.aft.dme2" level="WARN"/> |
| 946 | <!-- ============================================================================ --> |
| 947 | <!-- General EELF logger --> |
| 948 | <!-- ============================================================================ --> |
| 949 | <logger name="com.att.eelf" level="WARN" additivity="false"> |
| 950 | <appender-ref ref="asyncDEBUG"/> |
| 951 | <appender-ref ref="asyncERROR"/> |
| 952 | <appender-ref ref="asyncMETRIC"/> |
| 953 | </logger> |
| 954 | <root level="DEBUG"> |
| 955 | <appender-ref ref="external"/> |
| 956 | <appender-ref ref="STDOUT"/> |
| 957 | </root> |
| 958 | </configuration> |