blob: 0426a32d9e2cecdac2a3c2002ec14d1512fc8820 [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" />
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 Landob3d48982017-06-11 14:22:02 +030039 <appender name="MALFORMED_DATA"
40 class="ch.qos.logback.core.rolling.RollingFileAppender">
41 <file>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/malformed-data.log</file>
42
43 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
44 <fileNamePattern>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/malformed-data.log.%i
45 </fileNamePattern>
46 <minIndex>1</minIndex>
47 <maxIndex>10</maxIndex>
48 </rollingPolicy>
49
50 <triggeringPolicy
51 class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
52 <maxFileSize>20MB</maxFileSize>
53 </triggeringPolicy>
54 <encoder>
55 <pattern>${default-log-pattern}</pattern>
56 </encoder>
57 </appender>
58
59
Michael Landoed64b5e2017-06-09 03:19:04 +030060 <root level="INFO">
Michael Lando451a3402017-02-19 10:28:42 +020061 <appender-ref ref="DEBUG_ROLLING" />
62 </root>
Michael Landoed64b5e2017-06-09 03:19:04 +030063 <logger name="org.openecomp.sdc" level="INFO" />
Michael Landob3d48982017-06-11 14:22:02 +030064 <logger name="org.openecomp.sdc.be.model.operations.migration" level="ERROR" >
65 <appender-ref ref="MALFORMED_DATA"/>
66 </logger>
Michael Lando451a3402017-02-19 10:28:42 +020067
68</configuration>