aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/resources
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-05-06 20:45:00 +0300
committerMichael Lando <ml636r@att.com>2018-05-06 20:45:00 +0300
commit310804a209a059c87cf50a08e7df9cc4a1121e3c (patch)
tree86cca76d22b521665b226de57d10131e1628427d /asdctool/src/main/resources
parent0c51c0f629767d17c364229e5d528c8b609334da (diff)
fix logger in sdctool
align logback xml Change-Id: Ib607a8c48e94a2d9fa597d6228d0ee07c5eedc02 Issue-ID: SDC-1300 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'asdctool/src/main/resources')
-rw-r--r--asdctool/src/main/resources/config/logback.xml19
1 files changed, 3 insertions, 16 deletions
diff --git a/asdctool/src/main/resources/config/logback.xml b/asdctool/src/main/resources/config/logback.xml
index 603d894317..aff3808d3a 100644
--- a/asdctool/src/main/resources/config/logback.xml
+++ b/asdctool/src/main/resources/config/logback.xml
@@ -7,27 +7,15 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
<encoder>
<pattern>${default-log-pattern}</pattern>
</encoder>
- </layout>
</appender>
<appender name="DEBUG_ROLLING"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log</file>
- <!-- accept DEBUG and TRACE level -->
- <!--<filter class="ch.qos.logback.core.filter.EvaluatorFilter">-->
- <!--<evaluator class="ch.qos.logback.classic.boolex.GEventEvaluator">-->
- <!--<expression>-->
- <!--e.level.toInt() &lt;= DEBUG.toInt()-->
- <!--</expression>-->
- <!--</evaluator>-->
- <!--<OnMismatch>DENY</OnMismatch>-->
- <!--<OnMatch>NEUTRAL</OnMatch>-->
- <!--</filter>-->
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<fileNamePattern>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log.%i
@@ -47,11 +35,10 @@
<root level="INFO">
<appender-ref ref="DEBUG_ROLLING" />
+ <appender-ref ref="STDOUT"/>
</root>
- <logger name="org.openecomp.sdc" level="INFO" />
- <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" >
- <appender-ref ref="STDOUT"/>
- </logger>
+ <logger name="org.openecomp.sdc" level="INFO" />
+ <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" />
</configuration> \ No newline at end of file