Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | org.onap.dmaap |
| 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 | |
| 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 | |
| 19 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 20 | |
| 21 | --> |
| 22 | <configuration scan="true" scanPeriod="3 seconds" debug="false"> |
| 23 | <contextName>${module.ajsc.namespace.name}</contextName> |
| 24 | <jmxConfigurator /> |
| 25 | <property name="logDirectory" value="${AJSC_HOME}/log" /> |
| 26 | <!-- Example evaluator filter applied against console appender --> |
| 27 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 28 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 29 | <!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> --> |
| 30 | <level>ERROR</level> |
| 31 | <onMatch>ACCEPT</onMatch> |
| 32 | <onMismatch>DENY</onMismatch> |
| 33 | </filter> |
| 34 | <encoder> |
| 35 | <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n |
| 36 | </pattern> |
| 37 | </encoder> |
| 38 | </appender> |
| 39 | |
| 40 | <appender name="INFO" |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 41 | class="ch.qos.logback.core.ConsoleAppender"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 42 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 43 | <level>INFO</level> |
| 44 | <onMatch>ACCEPT</onMatch> |
| 45 | <onMismatch>DENY</onMismatch> |
| 46 | </filter> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 47 | <!-- <file>${logDirectory}/Info.log</file> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 48 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 49 | <fileNamePattern>${logDirectory}/Info-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 50 | </fileNamePattern> |
| 51 | <minIndex>1</minIndex> |
| 52 | <maxIndex>9</maxIndex> |
| 53 | </rollingPolicy> |
| 54 | <triggeringPolicy |
| 55 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 56 | <maxFileSize>500MB</maxFileSize> |
| 57 | </triggeringPolicy> |
| 58 | <encoder> |
| 59 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 60 | </encoder> --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 61 | </appender> |
| 62 | |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 63 | <appender name="DEBUG" |
| 64 | class="ch.qos.logback.core.ConsoleAppender"> |
| 65 | <!-- <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 66 | <level>DEBUG</level> |
| 67 | <onMatch>ACCEPT</onMatch> |
| 68 | <onMismatch>DENY</onMismatch> |
| 69 | </filter> |
| 70 | <file>${logDirectory}/Debug.log</file> |
| 71 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 72 | <fileNamePattern>${logDirectory}/Debug-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 73 | </fileNamePattern> |
| 74 | <minIndex>1</minIndex> |
| 75 | <maxIndex>9</maxIndex> |
| 76 | </rollingPolicy> |
| 77 | <triggeringPolicy |
| 78 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 79 | <maxFileSize>500MB</maxFileSize> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 80 | </triggeringPolicy> --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 81 | <encoder> |
| 82 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 83 | </encoder> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 84 | </appender> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 85 | |
| 86 | <appender name="ERROR" |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 87 | class="ch.qos.logback.core.ConsoleAppender"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 88 | <filter class="ch.qos.logback.classic.filter.LevelFilter"> |
| 89 | <level>ERROR</level> |
| 90 | <onMatch>ACCEPT</onMatch> |
| 91 | <onMismatch>DENY</onMismatch> |
| 92 | </filter> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 93 | <!--<file>${logDirectory}/Error.log</file> |
| 94 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 95 | <fileNamePattern>${logDirectory}/Error-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 96 | </fileNamePattern> |
| 97 | <minIndex>1</minIndex> |
| 98 | <maxIndex>9</maxIndex> |
| 99 | </rollingPolicy> |
| 100 | <triggeringPolicy |
| 101 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 102 | <maxFileSize>500MB</maxFileSize> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 103 | </triggeringPolicy> --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 104 | <encoder> |
| 105 | <!-- <pattern>"%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n"</pattern> --> |
| 106 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 107 | </encoder> |
| 108 | </appender> |
| 109 | |
| 110 | |
| 111 | <!-- Msgrtr related loggers --> |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 112 | <logger name="org.onap.dmaap.dmf.mr.service" level="INFO" /> |
| 113 | <logger name="org.onap.dmaap.dmf.mr.service.impl" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 114 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 115 | <logger name="org.onap.dmaap.dmf.mr.resources" level="INFO" /> |
| 116 | <logger name="org.onap.dmaap.dmf.mr.resources.streamReaders" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 117 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 118 | <logger name="org.onap.dmaap.dmf.mr.backends" level="INFO" /> |
| 119 | <logger name="org.onap.dmaap.dmf.mr.backends.kafka" level="INFO" /> |
| 120 | <logger name="org.onap.dmaap.dmf.mr.backends.memory" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 121 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 122 | <logger name="org.onap.dmaap.dmf.mr.beans" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 123 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 124 | <logger name="org.onap.dmaap.dmf.mr.constants" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 125 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 126 | <logger name="org.onap.dmaap.dmf.mr.exception" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 127 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 128 | <logger name="org.onap.dmaap.dmf.mr.listener" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 129 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 130 | <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 131 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 132 | <logger name="org.onap.dmaap.dmf.mr.metrics.publisher" level="INFO" /> |
| 133 | <logger name="org.onap.dmaap.dmf.mr.metrics.publisher.impl" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 134 | |
| 135 | |
| 136 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 137 | <logger name="org.onap.dmaap.dmf.mr.security" level="INFO" /> |
| 138 | <logger name="org.onap.dmaap.dmf.mr.security.impl" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 139 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 140 | <logger name="org.onap.dmaap.dmf.mr.transaction" level="INFO" /> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 141 | <logger name="com.att.dmf.mr.transaction.impl" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 142 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 143 | <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" /> |
| 144 | <logger name="org.onap.dmaap.dmf.mr.metabroker" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 145 | |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 146 | <logger name="org.onap.dmaap.dmf.mr.utils" level="INFO" /> |
| 147 | <logger name="org.onap.dmaap.mr.filter" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 148 | |
| 149 | <!--<logger name="com.att.nsa.cambria.*" level="INFO" />--> |
| 150 | |
| 151 | <!-- Msgrtr loggers in ajsc --> |
sunil unnava | 357b748 | 2018-10-24 15:20:01 -0400 | [diff] [blame] | 152 | <logger name="org.onap.dmaap.service" level="INFO" /> |
| 153 | <logger name="org.onap.dmaap" level="INFO" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 154 | |
| 155 | |
| 156 | <!-- Spring related loggers --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 157 | <logger name="org.springframework" level="WARN" additivity="false"/> |
| 158 | <logger name="org.springframework.beans" level="WARN" additivity="false"/> |
| 159 | <logger name="org.springframework.web" level="WARN" additivity="false" /> |
| 160 | <logger name="com.blog.spring.jms" level="WARN" additivity="false" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 161 | |
| 162 | <!-- AJSC Services (bootstrap services) --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 163 | <logger name="ajsc" level="WARN" additivity="false"/> |
| 164 | <logger name="ajsc.RouteMgmtService" level="INFO" additivity="false"/> |
| 165 | <logger name="ajsc.ComputeService" level="INFO" additivity="false" /> |
| 166 | <logger name="ajsc.VandelayService" level="WARN" additivity="false"/> |
| 167 | <logger name="ajsc.FilePersistenceService" level="WARN" additivity="false"/> |
| 168 | <logger name="ajsc.UserDefinedJarService" level="WARN" additivity="false" /> |
| 169 | <logger name="ajsc.UserDefinedBeansDefService" level="WARN" additivity="false" /> |
| 170 | <logger name="ajsc.LoggingConfigurationService" level="WARN" additivity="false" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 171 | |
| 172 | <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet |
| 173 | logging) --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 174 | <logger name="ajsc.utils" level="WARN" additivity="false"/> |
| 175 | <logger name="ajsc.utils.DME2Helper" level="INFO" additivity="false" /> |
| 176 | <logger name="ajsc.filters" level="DEBUG" additivity="false" /> |
| 177 | <logger name="ajsc.beans.interceptors" level="DEBUG" additivity="false" /> |
| 178 | <logger name="ajsc.restlet" level="DEBUG" additivity="false" /> |
| 179 | <logger name="ajsc.servlet" level="DEBUG" additivity="false" /> |
| 180 | <logger name="com.att" level="WARN" additivity="false" /> |
| 181 | <logger name="com.att.ajsc.csi.logging" level="WARN" additivity="false" /> |
| 182 | <logger name="com.att.ajsc.filemonitor" level="WARN" additivity="false"/> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 183 | |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 184 | <logger name="com.att.nsa.dmaap.util" level="INFO" additivity="false"/> |
| 185 | <logger name="com.att.cadi.filter" level="INFO" additivity="false" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 186 | |
| 187 | |
| 188 | <!-- Other Loggers that may help troubleshoot --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 189 | <logger name="net.sf" level="WARN" additivity="false" /> |
| 190 | <logger name="org.apache.commons.httpclient" level="WARN" additivity="false"/> |
| 191 | <logger name="org.apache.commons" level="WARN" additivity="false" /> |
| 192 | <logger name="org.apache.coyote" level="WARN" additivity="false"/> |
| 193 | <logger name="org.apache.jasper" level="WARN" additivity="false"/> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 194 | |
| 195 | <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging. |
| 196 | May aid in troubleshooting) --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 197 | <logger name="org.apache.camel" level="WARN" additivity="false" /> |
| 198 | <logger name="org.apache.cxf" level="WARN" additivity="false" /> |
| 199 | <logger name="org.apache.camel.processor.interceptor" level="WARN" additivity="false"/> |
| 200 | <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN" additivity="false" /> |
| 201 | <logger name="org.apache.cxf.service" level="WARN" additivity="false" /> |
| 202 | <logger name="org.restlet" level="DEBUG" additivity="false" /> |
| 203 | <logger name="org.apache.camel.component.restlet" level="DEBUG" additivity="false" /> |
| 204 | <logger name="org.apache.kafka" level="DEBUG" additivity="false" /> |
| 205 | <logger name="org.apache.zookeeper" level="INFO" additivity="false" /> |
| 206 | <logger name="org.I0Itec.zkclient" level="DEBUG" additivity="false" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 207 | |
| 208 | <!-- logback internals logging --> |
sunil unnava | 3563bf1 | 2018-09-25 12:47:28 -0400 | [diff] [blame] | 209 | <logger name="ch.qos.logback.classic" level="INFO" additivity="false"/> |
| 210 | <logger name="ch.qos.logback.core" level="INFO" additivity="false" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 211 | |
| 212 | <!-- logback jms appenders & loggers definition starts here --> |
| 213 | <!-- logback jms appenders & loggers definition starts here --> |
| 214 | <appender name="auditLogs" |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 215 | class="ch.qos.logback.core.ConsoleAppender"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 216 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 217 | </filter> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 218 | <!-- <file>${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log</file> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 219 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 220 | <fileNamePattern>${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 221 | </fileNamePattern> |
| 222 | <minIndex>1</minIndex> |
| 223 | <maxIndex>9</maxIndex> |
| 224 | </rollingPolicy> |
| 225 | <triggeringPolicy |
| 226 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 227 | <maxFileSize>500MB</maxFileSize> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 228 | </triggeringPolicy> --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 229 | <encoder> |
| 230 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 231 | </encoder> |
| 232 | </appender> |
| 233 | <appender name="perfLogs" |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 234 | class="ch.qos.logback.core.ConsoleAppender"> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 235 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
| 236 | </filter> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 237 | <!-- <file>${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log</file> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 238 | <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> |
| 239 | <fileNamePattern>${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip |
| 240 | </fileNamePattern> |
| 241 | <minIndex>1</minIndex> |
| 242 | <maxIndex>9</maxIndex> |
| 243 | </rollingPolicy> |
| 244 | <triggeringPolicy |
| 245 | class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> |
| 246 | <maxFileSize>500MB</maxFileSize> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 247 | </triggeringPolicy> --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 248 | <encoder> |
| 249 | <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> |
| 250 | </encoder> |
| 251 | </appender> |
| 252 | <!-- <if condition='property("JMS_BROKER").contains("WMQ")'> |
| 253 | <then> |
| 254 | <appender name="Audit-Record-Queue" class="ajsc.JMSQueueAppender"> |
| 255 | <param name="InitialContextFactoryName" value="${JMS_WMQ_INITIAL_CONNECTION_FACTORY_NAME}" /> |
| 256 | <param name="ProviderURL" value="${JMS_WMQ_PROVIDER_URL}" /> |
| 257 | <param name="DestinationName" value="${JMS_WMQ_AUDIT_DESTINATION_NAME}" /> |
| 258 | <param name="ConnectionFactoryName" value="${JMS_WMQ_CONNECTION_FACTORY_NAME}" /> |
| 259 | </appender> |
| 260 | <appender name="Performance-Tracker-Queue" class="ajsc.JMSQueueAppender"> |
| 261 | <param name="InitialContextFactoryName" value="${JMS_WMQ_INITIAL_CONNECTION_FACTORY_NAME}" /> |
| 262 | <param name="ProviderURL" value="${JMS_WMQ_PROVIDER_URL}" /> |
| 263 | <param name="DestinationName" value="${JMS_WMQ_PERF_DESTINATION_NAME}" /> |
| 264 | <param name="ConnectionFactoryName" value="${JMS_WMQ_CONNECTION_FACTORY_NAME}" /> |
| 265 | </appender> |
| 266 | </then> |
| 267 | <else> logback jms appenders definition starts here |
| 268 | <appender name="Audit-Record-Queue" class="ajsc.JMSQueueAppender"> |
| 269 | <param name="InitialContextFactoryName" |
| 270 | value="com.tibco.tibjms.naming.TibjmsInitialContextFactory" /> |
| 271 | <param name="ProviderURL" value="${JMS_TIBCO_PROVIDER_URL}" /> |
| 272 | <param name="userName" value="${JMS_LOGGER_USER_NAME}" /> |
| 273 | <param name="password" value="${JMS_LOGGER_PASSWORD}" /> |
| 274 | <QueueBindingName>${JMS_LOGGER_AUDIT_QUEUE_BINDING} |
| 275 | </QueueBindingName> |
| 276 | </appender> |
| 277 | <appender name="Performance-Tracker-Queue" class="ajsc.JMSQueueAppender"> |
| 278 | <param name="InitialContextFactoryName" |
| 279 | value="com.tibco.tibjms.naming.TibjmsInitialContextFactory" /> |
| 280 | <param name="ProviderURL" value="${JMS_TIBCO_PROVIDER_URL}" /> |
| 281 | <param name="userName" value="${JMS_LOGGER_USER_NAME}" /> |
| 282 | <param name="password" value="${JMS_LOGGER_PASSWORD}" /> |
| 283 | <QueueBindingName>${JMS_LOGGER_PERF_QUEUE_BINDING} |
| 284 | </QueueBindingName> |
| 285 | </appender> |
| 286 | </else> |
| 287 | </if> --> |
| 288 | <appender name="ASYNC-audit" class="ch.qos.logback.classic.AsyncAppender"> |
| 289 | <queueSize>1000</queueSize> |
| 290 | <discardingThreshold>0</discardingThreshold> |
| 291 | <appender-ref ref="Audit-Record-Queue" /> |
| 292 | </appender> |
| 293 | |
| 294 | <logger name="AuditRecord" level="INFO" additivity="FALSE"> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 295 | <appender-ref ref="STDOUT" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 296 | </logger> |
| 297 | <logger name="AuditRecord_DirectCall" level="INFO" additivity="FALSE"> |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 298 | <appender-ref ref="STDOUT" /> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 299 | </logger> |
| 300 | <appender name="ASYNC-perf" class="ch.qos.logback.classic.AsyncAppender"> |
| 301 | <queueSize>1000</queueSize> |
| 302 | <discardingThreshold>0</discardingThreshold> |
| 303 | <appender-ref ref="Performance-Tracker-Queue" /> |
| 304 | </appender> |
| 305 | <logger name="PerfTrackerRecord" level="INFO" additivity="FALSE"> |
| 306 | <appender-ref ref="ASYNC-perf" /> |
| 307 | <appender-ref ref="perfLogs" /> |
| 308 | </logger> |
| 309 | <!-- logback jms appenders & loggers definition ends here --> |
| 310 | |
| 311 | <root level="DEBUG"> |
| 312 | <appender-ref ref="DEBUG" /> |
| 313 | <appender-ref ref="ERROR" /> |
| 314 | <appender-ref ref="INFO" /> |
| 315 | <appender-ref ref="STDOUT" /> |
| 316 | </root> |
| 317 | |
| 318 | </configuration> |