vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | org.onap.aai |
| 4 | ================================================================================ |
| 5 | Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | ============LICENSE_END========================================================= |
| 17 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 18 | --> |
| 19 | <configuration scan="true" scanPeriod="60 seconds" debug="false"> |
| 20 | <statusListener class="ch.qos.logback.core.status.NopStatusListener" /> |
| 21 | <property resource="application.properties" /> |
| 22 | <property name="namespace" value="aai-traversal"/> |
| 23 | <property name="AJSC_HOME" value="${AJSC_HOME:-.}" /> |
| 24 | <jmxConfigurator /> |
| 25 | <property name="logDirectory" value="${AJSC_HOME}/logs" /> |
| 26 | <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}|%X{statusCode}|%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"/> |
| 27 | <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}|%X{statusCode}|%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"/> |
| 28 | <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}|%X{statusCode}|%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"/> |
| 29 | <!-- <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"/> --> |
| 30 | <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"/> |
| 31 | <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}|%X{statusCode}|%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"/> |
| 32 | <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" /> |
| 33 | <conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" /> |
| 34 | <conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" /> |
| 35 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 36 | <encoder> |
| 37 | <pattern> |
| 38 | %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} |
| 39 | </pattern> |
| 40 | </encoder> |
| 41 | </appender> |
| 42 | <appender name="SANE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 43 | <file>${logDirectory}/rest/sane.log</file> |
| 44 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 45 | <fileNamePattern>${logDirectory}/rest/sane.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 46 | </rollingPolicy> |
| 47 | <encoder> |
| 48 | <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n |
| 49 | </pattern> |
| 50 | </encoder> |
| 51 | </appender> |
| 52 | <appender name="asyncSANE" class="ch.qos.logback.classic.AsyncAppender"> |
| 53 | <queueSize>1000</queueSize> |
| 54 | <includeCallerData>true</includeCallerData> |
| 55 | <appender-ref ref="SANE" /> |
| 56 | </appender> |
| 57 | <appender name="METRIC" |
| 58 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 59 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 60 | <level>INFO</level> |
| 61 | <onMatch>ACCEPT</onMatch> |
| 62 | <onMismatch>DENY</onMismatch> |
| 63 | </filter> |
| 64 | <file>${logDirectory}/rest/metrics.log</file> |
| 65 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 66 | <fileNamePattern>${logDirectory}/rest/metrics.log.%d{yyyy-MM-dd} |
| 67 | </fileNamePattern> |
| 68 | </rollingPolicy> |
| 69 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 70 | <pattern>${eelfMetricLogPattern}</pattern> |
| 71 | </encoder> |
| 72 | </appender> |
| 73 | <appender name="asyncMETRIC" class="ch.qos.logback.classic.AsyncAppender"> |
| 74 | <queueSize>1000</queueSize> |
| 75 | <includeCallerData>true</includeCallerData> |
| 76 | <appender-ref ref="METRIC" /> |
| 77 | </appender> |
| 78 | <appender name="DEBUG" |
| 79 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 80 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 81 | <level>DEBUG</level> |
| 82 | <onMatch>ACCEPT</onMatch> |
| 83 | <onMismatch>DENY</onMismatch> |
| 84 | </filter> |
| 85 | <file>${logDirectory}/rest/debug.log</file> |
| 86 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 87 | <fileNamePattern>${logDirectory}/rest/debug.log.%d{yyyy-MM-dd} |
| 88 | </fileNamePattern> |
| 89 | </rollingPolicy> |
| 90 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 91 | <pattern>${eelfLogPattern}</pattern> |
| 92 | </encoder> |
| 93 | </appender> |
| 94 | <appender name="asyncDEBUG" class="ch.qos.logback.classic.AsyncAppender"> |
| 95 | <queueSize>1000</queueSize> |
| 96 | <includeCallerData>true</includeCallerData> |
| 97 | <appender-ref ref="DEBUG" /> |
| 98 | </appender> |
| 99 | <appender name="ERROR" |
| 100 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 101 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 102 | <level>WARN</level> |
| 103 | </filter> |
| 104 | <file>${logDirectory}/rest/error.log</file> |
| 105 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 106 | <fileNamePattern>${logDirectory}/rest/error.log.%d{yyyy-MM-dd} |
| 107 | </fileNamePattern> |
| 108 | </rollingPolicy> |
| 109 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 110 | <pattern>${eelfErrorLogPattern}</pattern> |
| 111 | </encoder> |
| 112 | </appender> |
| 113 | <appender name="asyncERROR" class="ch.qos.logback.classic.AsyncAppender"> |
| 114 | <queueSize>1000</queueSize> |
| 115 | <includeCallerData>true</includeCallerData> |
| 116 | <appender-ref ref="ERROR" /> |
| 117 | </appender> |
| 118 | <appender name="AUDIT" |
| 119 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 120 | <file>${logDirectory}/rest/audit.log</file> |
| 121 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 122 | <fileNamePattern>${logDirectory}/rest/audit.log.%d{yyyy-MM-dd} |
| 123 | </fileNamePattern> |
| 124 | </rollingPolicy> |
| 125 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 126 | <pattern>${eelfAuditLogPattern}</pattern> |
| 127 | </encoder> |
| 128 | </appender> |
| 129 | <appender name="asyncAUDIT" class="ch.qos.logback.classic.AsyncAppender"> |
| 130 | <queueSize>1000</queueSize> |
| 131 | <includeCallerData>true</includeCallerData> |
| 132 | <appender-ref ref="AUDIT" /> |
| 133 | </appender> |
| 134 | <appender name="translog" |
| 135 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 136 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 137 | <level>DEBUG</level> |
| 138 | <onMatch>ACCEPT</onMatch> |
| 139 | <onMismatch>DENY</onMismatch> |
| 140 | </filter> |
| 141 | <file>${logDirectory}/rest/translog.log</file> |
| 142 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 143 | <fileNamePattern>${logDirectory}/rest/translog.log.%d{yyyy-MM-dd} |
| 144 | </fileNamePattern> |
| 145 | </rollingPolicy> |
| 146 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 147 | <pattern>${eelfTransLogPattern}</pattern> |
| 148 | </encoder> |
| 149 | </appender> |
| 150 | <appender name="asynctranslog" class="ch.qos.logback.classic.AsyncAppender"> |
| 151 | <queueSize>1000</queueSize> |
| 152 | <includeCallerData>true</includeCallerData> |
| 153 | <appender-ref ref="translog" /> |
| 154 | </appender> |
| 155 | <appender name="dmaapAAIEventConsumer" |
| 156 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 157 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 158 | <level>WARN</level> |
| 159 | </filter> |
| 160 | <File>${logDirectory}/dmaapAAIEventConsumer/error.log</File> |
| 161 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 162 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/error.log.%d{yyyy-MM-dd} |
| 163 | </fileNamePattern> |
| 164 | </rollingPolicy> |
| 165 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 166 | <pattern>${eelfLogPattern}</pattern> |
| 167 | </encoder> |
| 168 | </appender> |
| 169 | <appender name="dmaapAAIEventConsumerDebug" |
| 170 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 171 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 172 | <level>DEBUG</level> |
| 173 | <onMatch>ACCEPT</onMatch> |
| 174 | <onMismatch>DENY</onMismatch> |
| 175 | </filter> |
| 176 | <File>${logDirectory}/dmaapAAIEventConsumer/debug.log</File> |
| 177 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 178 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/debug.log.%d{yyyy-MM-dd} |
| 179 | </fileNamePattern> |
| 180 | </rollingPolicy> |
| 181 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 182 | <pattern>${eelfLogPattern}</pattern> |
| 183 | </encoder> |
| 184 | </appender> |
| 185 | <appender name="dmaapAAIEventConsumerMetric" |
| 186 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 187 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 188 | <level>INFO</level> |
| 189 | <onMatch>ACCEPT</onMatch> |
| 190 | <onMismatch>DENY</onMismatch> |
| 191 | </filter> |
| 192 | <File>${logDirectory}/dmaapAAIEventConsumer/metrics.log</File> |
| 193 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 194 | <fileNamePattern>${logDirectory}/dmaapAAIEventConsumer/metrics.log.%d{yyyy-MM-dd} |
| 195 | </fileNamePattern> |
| 196 | </rollingPolicy> |
| 197 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 198 | <pattern>${eelfMetricLogPattern}</pattern> |
| 199 | </encoder> |
| 200 | </appender> |
| 201 | <appender name="external" |
| 202 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 203 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 204 | <level>WARN</level> |
| 205 | </filter> |
| 206 | <file>${logDirectory}/external/external.log</file> |
| 207 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 208 | <fileNamePattern>${logDirectory}/external/external.log.%d{yyyy-MM-dd} |
| 209 | </fileNamePattern> |
| 210 | </rollingPolicy> |
| 211 | <encoder class="org.onap.aai.logging.EcompEncoder"> |
| 212 | <pattern>${eelfLogPattern}</pattern> |
| 213 | </encoder> |
| 214 | </appender> |
| 215 | <logger name="org.onap.aai" level="DEBUG" additivity="false"> |
| 216 | <appender-ref ref="asyncDEBUG" /> |
| 217 | <appender-ref ref="asyncERROR" /> |
| 218 | <appender-ref ref="asyncMETRIC" /> |
| 219 | <appender-ref ref="asyncSANE" /> |
| 220 | </logger> |
| 221 | <!-- Spring related loggers --> |
| 222 | <logger name="org.springframework" level="WARN" /> |
| 223 | <logger name="org.springframework.beans" level="WARN" /> |
| 224 | <logger name="org.springframework.web" level="WARN" /> |
| 225 | <logger name="com.blog.spring.jms" level="WARN" /> |
| 226 | <logger name="com.jayway.jsonpath" level="WARN" /> |
| 227 | <!-- AJSC Services (bootstrap services) --> |
| 228 | <logger name="ajsc" level="WARN" /> |
| 229 | <logger name="ajsc.RouteMgmtService" level="WARN" /> |
| 230 | <logger name="ajsc.ComputeService" level="WARN" /> |
| 231 | <logger name="ajsc.VandelayService" level="WARN" /> |
| 232 | <logger name="ajsc.FilePersistenceService" level="WARN" /> |
| 233 | <logger name="ajsc.UserDefinedJarService" level="WARN" /> |
| 234 | <logger name="ajsc.UserDefinedBeansDefService" level="WARN" /> |
| 235 | <logger name="ajsc.LoggingConfigurationService" level="WARN" /> |
| 236 | <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet |
| 237 | logging) --> |
| 238 | <logger name="org.codehaus.groovy" level="WARN" /> |
| 239 | <logger name="com.att.scamper" level="WARN" /> |
| 240 | <logger name="ajsc.utils" level="WARN" /> |
| 241 | <logger name="ajsc.utils.DME2Helper" level="WARN" /> |
| 242 | <logger name="ajsc.filters" level="WARN" /> |
| 243 | <logger name="ajsc.beans.interceptors" level="WARN" /> |
| 244 | <logger name="ajsc.restlet" level="WARN" /> |
| 245 | <logger name="ajsc.servlet" level="WARN" /> |
| 246 | <logger name="com.att.ajsc" level="WARN" /> |
| 247 | <logger name="com.att.ajsc.csi.logging" level="WARN" /> |
| 248 | <logger name="com.att.ajsc.filemonitor" level="WARN" /> |
| 249 | <logger name="com.netflix.loadbalancer" level="WARN" /> |
| 250 | <logger name="org.apache.zookeeper" level="OFF" /> |
| 251 | <!-- Other Loggers that may help troubleshoot --> |
| 252 | <logger name="net.sf" level="WARN" /> |
| 253 | <logger name="org.apache.commons.httpclient" level="WARN" /> |
| 254 | <logger name="org.apache.commons" level="WARN" /> |
| 255 | <logger name="org.apache.coyote" level="WARN" /> |
| 256 | <logger name="org.apache.jasper" level="WARN" /> |
| 257 | <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging. |
| 258 | May aid in troubleshooting) --> |
| 259 | <logger name="org.apache.camel" level="WARN" /> |
| 260 | <logger name="org.apache.cxf" level="WARN" /> |
| 261 | <logger name="org.apache.camel.processor.interceptor" level="WARN" /> |
| 262 | <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN" /> |
| 263 | <logger name="org.apache.cxf.service" level="WARN" /> |
| 264 | <logger name="org.restlet" level="WARN" /> |
| 265 | <logger name="org.apache.camel.component.restlet" level="WARN" /> |
| 266 | <logger name="org.hibernate.validator" level="WARN" /> |
| 267 | <logger name="org.hibernate" level="WARN" /> |
| 268 | <logger name="org.hibernate.ejb" level="OFF" /> |
| 269 | <!-- logback internals logging --> |
| 270 | <logger name="ch.qos.logback.classic" level="WARN" /> |
| 271 | <logger name="ch.qos.logback.core" level="WARN" /> |
| 272 | <logger name="org.eclipse.jetty" level="WARN" /> |
| 273 | <!-- logback jms appenders & loggers definition starts here --> |
| 274 | <appender name="auditLogs" |
| 275 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 276 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter" /> |
| 277 | <file>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.log |
| 278 | </file> |
| 279 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 280 | <fileNamePattern>${logDirectory}/perf-audit/Audit-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 281 | </fileNamePattern> |
| 282 | <minIndex>1</minIndex> |
| 283 | <maxIndex>9</maxIndex> |
| 284 | </rollingPolicy> |
| 285 | <triggeringPolicy |
| 286 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 287 | <maxFileSize>5MB</maxFileSize> |
| 288 | </triggeringPolicy> |
| 289 | <encoder> |
| 290 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 291 | </encoder> |
| 292 | </appender> |
| 293 | <appender name="perfLogs" |
| 294 | class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 295 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter" /> |
| 296 | <file>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.log |
| 297 | </file> |
| 298 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 299 | <fileNamePattern>${logDirectory}/perf-audit/Perform-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 300 | </fileNamePattern> |
| 301 | <minIndex>1</minIndex> |
| 302 | <maxIndex>9</maxIndex> |
| 303 | </rollingPolicy> |
| 304 | <triggeringPolicy |
| 305 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 306 | <maxFileSize>5MB</maxFileSize> |
| 307 | </triggeringPolicy> |
| 308 | <encoder> |
| 309 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 310 | </encoder> |
| 311 | </appender> |
| 312 | <appender name="miscLogs" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 313 | <file>${logDirectory}/misc/misc.log</file> |
| 314 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 315 | <fileNamePattern>${logDirectory}/misc/misc.log.%d{yyyy-MM-dd}</fileNamePattern> |
| 316 | </rollingPolicy> |
| 317 | <encoder> |
| 318 | <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n |
| 319 | </pattern> |
| 320 | </encoder> |
| 321 | </appender> |
| 322 | <logger name="AuditRecord" level="INFO" additivity="false"> |
| 323 | <appender-ref ref="auditLogs" /> |
| 324 | </logger> |
| 325 | <logger name="AuditRecord_DirectCall" level="INFO" additivity="false"> |
| 326 | <appender-ref ref="auditLogs" /> |
| 327 | </logger> |
| 328 | <logger name="PerfTrackerRecord" level="INFO" additivity="false"> |
| 329 | <appender-ref ref="perfLogs" /> |
| 330 | </logger> |
| 331 | <logger name="MiscRecord" level="INFO" additivity="false"> |
| 332 | <appender-ref ref="miscLogs" /> |
| 333 | </logger> |
| 334 | <!-- logback jms appenders & loggers definition ends here --> |
| 335 | <logger name="org.onap.aai.interceptors.post" level="DEBUG" |
| 336 | additivity="false"> |
| 337 | <appender-ref ref="asynctranslog" /> |
| 338 | </logger> |
| 339 | <logger name="org.onap.aai.interceptors.pre.SetLoggingContext" level="DEBUG"> |
| 340 | <appender-ref ref="asyncAUDIT"/> |
| 341 | </logger> |
| 342 | <logger name="org.onap.aai.interceptors.post.ResetLoggingContext" level="DEBUG"> |
| 343 | <appender-ref ref="asyncAUDIT"/> |
| 344 | </logger> |
| 345 | <logger name="org.onap.aai.dmaap" level="DEBUG" additivity="false"> |
| 346 | <appender-ref ref="dmaapAAIEventConsumer" /> |
| 347 | <appender-ref ref="dmaapAAIEventConsumerDebug" /> |
| 348 | <appender-ref ref="dmaapAAIEventConsumerMetric" /> |
| 349 | </logger> |
| 350 | <logger name="org.apache" level="OFF" /> |
| 351 | <logger name="org.zookeeper" level="OFF" /> |
| 352 | <logger name="com.thinkaurelius" level="WARN" /> |
| 353 | <logger name="com.att.aft.dme2" level="WARN" /> |
| 354 | <!-- ============================================================================ --> |
| 355 | <!-- General EELF logger --> |
| 356 | <!-- ============================================================================ --> |
| 357 | <logger name="com.att.eelf" level="WARN" additivity="false"> |
| 358 | <appender-ref ref="asyncDEBUG" /> |
| 359 | <appender-ref ref="asyncERROR" /> |
| 360 | <appender-ref ref="asyncMETRIC" /> |
| 361 | </logger> |
| 362 | <root level="DEBUG"> |
| 363 | <appender-ref ref="external" /> |
| 364 | </root> |
| 365 | </configuration> |