blob: 33775962b7510518668c66e5a7703dbf23f236b1 [file] [log] [blame]
LiZi4dd8e112018-04-09 07:34:04 -04001<?xml version="1.0" encoding="UTF-8"?>
2<configuration debug="true" scan="true" scanPeriod="3 seconds">
3 <!--<jmxConfigurator /> -->
4 <!-- specify the base path of the log directory -->
5 <property name="logDir" value="/var/log/onap" />
6 <!-- specify the component name -->
7 <property name="componentName" value="msb" />
8 <!-- specify the sub component name -->
9 <property name="subComponentName" value="discovery" />
10 <!-- The directories where logs are written -->
11 <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
12 <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
13 <!-- log file names -->
14 <property name="errorLogName" value="error" />
15 <property name="metricsLogName" value="metrics" />
16 <property name="auditLogName" value="audit" />
17 <property name="debugLogName" value="debug" />
18 <property name="queueSize" value="256" />
19 <property name="maxFileSize" value="50MB" />
20 <property name="maxHistory" value="30" />
21 <property name="totalSizeCap" value="10GB" />
22 <!-- Example evaluator filter applied against console appender -->
23 <appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT">
24 <encoder>
25 <pattern>${pattern}</pattern>
26 </encoder>
27 </appender>