blob: aff3808d3a14610085bebe36b68f916f6e370776 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<configuration>
Michael Landob3d48982017-06-11 14:22:02 +03003 <property scope="system" name="ECOMP-component-name" value="SDC" />
4 <property scope="system" name="ECOMP-subcomponent-name" value="SDC-TOOL" />
Michael Lando451a3402017-02-19 10:28:42 +02005 <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" />
Michael Lando75aacbb2017-07-17 21:12:03 +03007
8
9 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
Michael Lando75aacbb2017-07-17 21:12:03 +030010 <encoder>
11 <pattern>${default-log-pattern}</pattern>
12 </encoder>
Michael Lando75aacbb2017-07-17 21:12:03 +030013 </appender>
14
Michael Lando451a3402017-02-19 10:28:42 +020015 <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
Michael Lando451a3402017-02-19 10:28:42 +020019
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
Michael Landoed64b5e2017-06-09 03:19:04 +030036 <root level="INFO">
Michael Lando451a3402017-02-19 10:28:42 +020037 <appender-ref ref="DEBUG_ROLLING" />
Michael Lando75aacbb2017-07-17 21:12:03 +030038 <appender-ref ref="STDOUT"/>
Michael Lando310804a2018-05-06 20:45:00 +030039 </root>
40
41 <logger name="org.openecomp.sdc" level="INFO" />
42 <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" />
Michael Lando75aacbb2017-07-17 21:12:03 +030043
Michael Lando451a3402017-02-19 10:28:42 +020044</configuration>