blob: 559b69534aad013682eaba42bd8cda59b827d45f [file] [log] [blame]
JulienBe61663b92020-09-03 17:09:46 +02001<?xml version="1.0" encoding="UTF-8"?>
2<configuration>
3 <property scope="system" name="ECOMP-component-name" value="SDC"/>
4 <property scope="system" name="ECOMP-subcomponent-name" value="SDC-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
9 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
10 <encoder>
11 <pattern>${default-log-pattern}</pattern>
12 </encoder>
13 </appender>
14
15 <appender name="DEBUG_ROLLING"
16 class="ch.qos.logback.core.rolling.RollingFileAppender">
17 <file>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log</file>
18
19
20 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
21 <fileNamePattern>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log.%i
22 </fileNamePattern>
23 <minIndex>1</minIndex>
24 <maxIndex>10</maxIndex>
25 </rollingPolicy>
26
27 <triggeringPolicy
28 class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
29 <maxFileSize>20MB</maxFileSize>
30 </triggeringPolicy>
31 <encoder>
32 <pattern>${default-log-pattern}</pattern>
33 </encoder>
34 </appender>
35
36 <root level="INFO">
37 <appender-ref ref="DEBUG_ROLLING"/>
38 <appender-ref ref="STDOUT"/>
39 </root>
40
41 <logger name="org.openecomp.sdc" level="INFO"/>
42 <logger name="org.openecomp.sdc.asdctool.migration" level="INFO"/>
43
44</configuration>