fix logger in sdctool
align logback xml
Change-Id: Ib607a8c48e94a2d9fa597d6228d0ee07c5eedc02
Issue-ID: SDC-1300
Signed-off-by: Michael Lando <ml636r@att.com>
diff --git a/asdctool/src/main/resources/config/logback.xml b/asdctool/src/main/resources/config/logback.xml
index 603d894..aff3808 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() <= 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" />
- </root>
- <logger name="org.openecomp.sdc" level="INFO" />
-
- <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" >
<appender-ref ref="STDOUT"/>
- </logger>
+ </root>
+
+ <logger name="org.openecomp.sdc" level="INFO" />
+ <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" />
</configuration>
\ No newline at end of file