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