blob: 87795ae163445801c94ddfac0aa01b15efb02f61 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<configuration>
3 <property scope="system" name="ECOMP-component-name" value="ASDC" />
4 <property scope="system" name="ECOMP-subcomponent-name" value="ASDC-TOOL" />
5 <property name="default-log-pattern"
6 value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{uuid}|%X{serviceInstanceID}|%thread||${ECOMP-subcomponent-name}|%X{userId}|%level|%X{alarmSeverity}|%X{localAddr}|${beFqdn}|%X{remoteAddr}|%logger{35}|%X{timer}|ActivityType=&lt;%M&gt;, Desc=&lt;%msg&gt;%n" />
7
8 <appender name="DEBUG_ROLLING"
9 class="ch.qos.logback.core.rolling.RollingFileAppender">
10 <file>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log</file>
11
12 <!-- accept DEBUG and TRACE level -->
13 <!--<filter class="ch.qos.logback.core.filter.EvaluatorFilter">-->
14 <!--<evaluator class="ch.qos.logback.classic.boolex.GEventEvaluator">-->
15 <!--<expression>-->
16 <!--e.level.toInt() &lt;= DEBUG.toInt()-->
17 <!--</expression>-->
18 <!--</evaluator>-->
19 <!--<OnMismatch>DENY</OnMismatch>-->
20 <!--<OnMatch>NEUTRAL</OnMatch>-->
21 <!--</filter>-->
22
23 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
24 <fileNamePattern>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log.%i
25 </fileNamePattern>
26 <minIndex>1</minIndex>
27 <maxIndex>10</maxIndex>
28 </rollingPolicy>
29
30 <triggeringPolicy
31 class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
32 <maxFileSize>20MB</maxFileSize>
33 </triggeringPolicy>
34 <encoder>
35 <pattern>${default-log-pattern}</pattern>
36 </encoder>
37 </appender>
38
Michael Landoed64b5e2017-06-09 03:19:04 +030039 <root level="INFO">
Michael Lando451a3402017-02-19 10:28:42 +020040 <appender-ref ref="DEBUG_ROLLING" />
41 </root>
Michael Landoed64b5e2017-06-09 03:19:04 +030042 <logger name="org.openecomp.sdc" level="INFO" />
Michael Lando451a3402017-02-19 10:28:42 +020043
44</configuration>