diff options
author | eeginux <henry.xie@est.tech> | 2019-04-03 14:28:09 +0000 |
---|---|---|
committer | eeginux <henry.xie@est.tech> | 2019-04-04 11:41:31 +0100 |
commit | 88c47a23b9428188ff5dd0b46941f8856465376b (patch) | |
tree | 3f1e028033ad56f398e8154f0be2272012b666b2 /bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml | |
parent | b168125f237629b6dd7d73897548f2ee70139ed3 (diff) |
PNF WF post instantiation configuration
Add PNF ipv4/v6 address for config Deploy
Add Integration test for CreateVcpeResCustService_simplified.bpmn
Modify the PnfEventReadyDmaapClient to avoid one more running thread
Refactor the so-bpmn-infrastructure-flows test resources
Modify the CreateVcpeResCustService_simplified.bpmn
Add ConfigurePnfResource.bpmn
Add Delegates
Issue-ID: SO-1506
Change-Id: Iffb69d1441ef0b485ee8cd3fb5da5f1a35279a95
Signed-off-by: eeginux <henry.xie@est.tech>
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 |