2 ============LICENSE_START=======================================================
3 Copyright © 2019 AT&T Intellectual Property. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 ============LICENSE_END=========================================================
18 <configuration scan="true" scanPeriod="3 seconds" debug="false">
19 <contextName>${module.ajsc.namespace.name}</contextName>
21 <property name="logDirectory" value="${AJSC_HOME}/log" />
22 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
23 <filter class="ch.qos.logback.classic.filter.LevelFilter">
25 <onMatch>ACCEPT</onMatch>
26 <onMismatch>DENY</onMismatch>
29 <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n
34 <appender name="INFO" class="ch.qos.logback.core.ConsoleAppender">
35 <filter class="ch.qos.logback.classic.filter.LevelFilter">
37 <onMatch>ACCEPT</onMatch>
38 <onMismatch>DENY</onMismatch>
42 <appender name="DEBUG" class="ch.qos.logback.core.ConsoleAppender">
45 <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
49 <appender name="ERROR" class="ch.qos.logback.core.ConsoleAppender"> class="ch.qos.logback.core.ConsoleAppender">
50 <filter class="ch.qos.logback.classic.filter.LevelFilter">
52 <onMatch>ACCEPT</onMatch>
53 <onMismatch>DENY</onMismatch>
56 <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
61 <!-- Msgrtr related loggers -->
62 <logger name="org.onap.dmaap.dmf.mr.service" level="INFO" />
63 <logger name="org.onap.dmaap.dmf.mr.service.impl" level="INFO" />
65 <logger name="org.onap.dmaap.dmf.mr.resources" level="INFO" />
66 <logger name="org.onap.dmaap.dmf.mr.resources.streamReaders" level="INFO" />
68 <logger name="org.onap.dmaap.dmf.mr.backends" level="INFO" />
69 <logger name="org.onap.dmaap.dmf.mr.backends.kafka" level="INFO" />
70 <logger name="org.onap.dmaap.dmf.mr.backends.memory" level="INFO" />
72 <logger name="org.onap.dmaap.dmf.mr.beans" level="INFO" />
74 <logger name="org.onap.dmaap.dmf.mr.constants" level="INFO" />
76 <logger name="org.onap.dmaap.dmf.mr.exception" level="INFO" />
78 <logger name="org.onap.dmaap.dmf.mr.listener" level="INFO" />
80 <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" />
82 <logger name="org.onap.dmaap.dmf.mr.metrics.publisher" level="INFO" />
83 <logger name="org.onap.dmaap.dmf.mr.metrics.publisher.impl" level="INFO" />
87 <logger name="org.onap.dmaap.dmf.mr.security" level="INFO" />
88 <logger name="org.onap.dmaap.dmf.mr.security.impl" level="INFO" />
90 <logger name="org.onap.dmaap.dmf.mr.transaction" level="INFO" />
91 <logger name="com.att.dmf.mr.transaction.impl" level="INFO" />
93 <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" />
94 <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" />
96 <logger name="org.onap.dmaap.dmf.mr.utils" level="INFO" />
97 <logger name="org.onap.dmaap.mr.filter" level="INFO" />
99 <!--<logger name="com.att.nsa.cambria.*" level="INFO" />-->
101 <!-- Msgrtr loggers in ajsc -->
102 <logger name="org.onap.dmaap.service" level="INFO" />
103 <logger name="org.onap.dmaap" level="INFO" />
106 <!-- Spring related loggers -->
107 <logger name="org.springframework" level="WARN" additivity="false"/>
108 <logger name="org.springframework.beans" level="WARN" additivity="false"/>
109 <logger name="org.springframework.web" level="WARN" additivity="false" />
110 <logger name="com.blog.spring.jms" level="WARN" additivity="false" />
112 <!-- AJSC Services (bootstrap services) -->
113 <logger name="ajsc" level="WARN" additivity="false"/>
114 <logger name="ajsc.RouteMgmtService" level="INFO" additivity="false"/>
115 <logger name="ajsc.ComputeService" level="INFO" additivity="false" />
116 <logger name="ajsc.VandelayService" level="WARN" additivity="false"/>
117 <logger name="ajsc.FilePersistenceService" level="WARN" additivity="false"/>
118 <logger name="ajsc.UserDefinedJarService" level="WARN" additivity="false" />
119 <logger name="ajsc.UserDefinedBeansDefService" level="WARN" additivity="false" />
120 <logger name="ajsc.LoggingConfigurationService" level="WARN" additivity="false" />
122 <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet
124 <logger name="ajsc.utils" level="WARN" additivity="false"/>
125 <logger name="ajsc.utils.DME2Helper" level="INFO" additivity="false" />
126 <logger name="ajsc.filters" level="DEBUG" additivity="false" />
127 <logger name="ajsc.beans.interceptors" level="DEBUG" additivity="false" />
128 <logger name="ajsc.restlet" level="DEBUG" additivity="false" />
129 <logger name="ajsc.servlet" level="DEBUG" additivity="false" />
130 <logger name="com.att" level="WARN" additivity="false" />
131 <logger name="com.att.ajsc.csi.logging" level="WARN" additivity="false" />
132 <logger name="com.att.ajsc.filemonitor" level="WARN" additivity="false"/>
134 <logger name="com.att.nsa.dmaap.util" level="INFO" additivity="false"/>
135 <logger name="com.att.cadi.filter" level="INFO" additivity="false" />
138 <!-- Other Loggers that may help troubleshoot -->
139 <logger name="net.sf" level="WARN" additivity="false" />
140 <logger name="org.apache.commons.httpclient" level="WARN" additivity="false"/>
141 <logger name="org.apache.commons" level="WARN" additivity="false" />
142 <logger name="org.apache.coyote" level="WARN" additivity="false"/>
143 <logger name="org.apache.jasper" level="WARN" additivity="false"/>
145 <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging.
146 May aid in troubleshooting) -->
147 <logger name="org.apache.camel" level="WARN" additivity="false" />
148 <logger name="org.apache.cxf" level="WARN" additivity="false" />
149 <logger name="org.apache.camel.processor.interceptor" level="WARN" additivity="false"/>
150 <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN" additivity="false" />
151 <logger name="org.apache.cxf.service" level="WARN" additivity="false" />
152 <logger name="org.restlet" level="DEBUG" additivity="false" />
153 <logger name="org.apache.camel.component.restlet" level="DEBUG" additivity="false" />
154 <logger name="org.apache.kafka" level="DEBUG" additivity="false" />
155 <logger name="org.apache.zookeeper" level="INFO" additivity="false" />
156 <logger name="org.I0Itec.zkclient" level="DEBUG" additivity="false" />
158 <!-- logback internals logging -->
159 <logger name="ch.qos.logback.classic" level="INFO" additivity="false"/>
160 <logger name="ch.qos.logback.core" level="INFO" additivity="false" />
162 <!-- logback jms appenders & loggers definition starts here -->
163 <!-- logback jms appenders & loggers definition starts here -->
164 <appender name="auditLogs" class="ch.qos.logback.core.ConsoleAppender">
165 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
168 <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
171 <appender name="perfLogs" class="ch.qos.logback.core.ConsoleAppender">
172 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
175 <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
178 <appender name="ASYNC-audit" class="ch.qos.logback.classic.AsyncAppender">
179 <queueSize>1000</queueSize>
180 <discardingThreshold>0</discardingThreshold>
181 <appender-ref ref="Audit-Record-Queue" />
184 <logger name="AuditRecord" level="INFO" additivity="FALSE">
185 <appender-ref ref="STDOUT" />
187 <logger name="AuditRecord_DirectCall" level="INFO" additivity="FALSE">
188 <appender-ref ref="STDOUT" />
190 <appender name="ASYNC-perf" class="ch.qos.logback.classic.AsyncAppender">
191 <queueSize>1000</queueSize>
192 <discardingThreshold>0</discardingThreshold>
193 <appender-ref ref="Performance-Tracker-Queue" />
195 <logger name="PerfTrackerRecord" level="INFO" additivity="FALSE">
196 <appender-ref ref="ASYNC-perf" />
197 <appender-ref ref="perfLogs" />
199 <!-- logback jms appenders & loggers definition ends here -->
202 <appender-ref ref="DEBUG" />
203 <appender-ref ref="ERROR" />
204 <appender-ref ref="INFO" />
205 <appender-ref ref="STDOUT" />