diff options
author | Steve Smokowski <ss835w@att.com> | 2019-04-04 17:31:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-04 17:31:43 +0000 |
commit | f81920304c7b62637d32473e672a1e51275ce54b (patch) | |
tree | 35332de491929d0b278a4698f530f512ce28d46c /bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml | |
parent | 5f78643c42dd12588a1688f658ca6e134674ea29 (diff) | |
parent | 88c47a23b9428188ff5dd0b46941f8856465376b (diff) |
Merge "PNF WF post instantiation configuration"
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml')
-rw-r--r-- | bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml | 85 |
1 files changed, 55 insertions, 30 deletions
diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml index 38a2ef6ef5..3b0bdb252f 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml @@ -1,44 +1,69 @@ <configuration> + <property name="LOGS" value="target/logs" /> + <!-- Add this appender to keep the log file for further troubleshooting--> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level + %logger{1024} - %msg%n + </pattern> + </encoder> + </appender> - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level - %logger{1024} - %msg%n - </pattern> - </encoder> - </appender> + <appender name="File" + class="ch.qos.logback.core.FileAppender"> + <file>${LOGS}/testing.log</file> + <encoder + class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> + <Pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level + %logger{1024} - %msg%n</Pattern> + </encoder> + </appender> + <logger name="com.att.ecomp.audit" level="info" additivity="false"> + <appender-ref ref="STDOUT"/> + </logger> - <logger name="com.att.ecomp.audit" level="info" additivity="false"> - <appender-ref ref="STDOUT" /> - </logger> + <logger name="com.att.eelf.metrics" level="info" additivity="false"> + <appender-ref ref="STDOUT"/> + </logger> - <logger name="com.att.eelf.metrics" level="info" additivity="false"> - <appender-ref ref="STDOUT" /> - </logger> + <logger name="com.att.eelf.error" level="WARN" additivity="false"> + <appender-ref ref="STDOUT"/> + </logger> - <logger name="com.att.eelf.error" level="WARN" additivity="false"> - <appender-ref ref="STDOUT" /> - </logger> + <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false"> + <appender-ref ref="STDOUT"/> + </logger> - <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false"> - <appender-ref ref="STDOUT" /> - </logger> - - <logger name="ch.vorburger" level="WARN" additivity="false"> - <appender-ref ref="STDOUT" /> - </logger> - - <logger name="AUDIT" level="info" additivity="true"> - <appender-ref ref="STDOUT" /> - </logger> + <logger name="ch.vorburger" level="WARN" additivity="false"> + <appender-ref ref="STDOUT"/> + </logger> - <root level="WARN"> - <appender-ref ref="STDOUT" /> - </root> + <logger name="AUDIT" level="info" additivity="true"> + <appender-ref ref="STDOUT"/> + </logger> + <!-- suppress the amount of org.apache.tomcat.util.net.NioEndpoint log--> + <logger name="org.apache.tomcat" level="WARN" /> + + <!-- suppress the amount of org.springframework.beans log--> + <logger name="org.springframework.beans" level="WARN"/> + + <!-- suppress the amount of org.springframework.context log--> + <logger name="org.springframework.context" level="WARN"/> + + <!-- suppress the amount of org.camunda.bpm.engine.impl.persistence--> + <logger name="org.camunda.bpm.engine.impl.persistence" level="WARN"/> + + <!-- suppress the amount of org.camunda.bpm.engine.persistence--> + <logger name="org.camunda.bpm.engine.persistence" level="WARN"/> + + <root level="WARN"> + <appender-ref ref="STDOUT"/> + <appender-ref ref="File"/> + </root> </configuration>
\ No newline at end of file |