diff options
author | Brinda Santh <bs2796@att.com> | 2019-10-28 16:46:47 -0400 |
---|---|---|
committer | Brinda Santh <bs2796@att.com> | 2019-10-28 16:46:47 -0400 |
commit | 0d3a0223fd11d431497519f3f9da640aafe00460 (patch) | |
tree | 8f211b811e86ebf72d4873957624ded94206d7c9 /ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources | |
parent | 6885f5811c515d00c049c87de0797076dfc3686e (diff) |
Add Message tracing logger service.
Issue-ID: CCSDK-1046
Signed-off-by: Brinda Santh <bs2796@att.com>
Change-Id: I509df82ec558cd96934043a5b41ea53aa040cc81
Diffstat (limited to 'ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources')
-rw-r--r-- | ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources/logback-test.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources/logback-test.xml b/ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources/logback-test.xml index 3868440c7..5f4fb4f73 100644 --- a/ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources/logback-test.xml +++ b/ms/blueprintsprocessor/modules/commons/message-lib/src/test/resources/logback-test.xml @@ -1,5 +1,6 @@ <!-- ~ Copyright © 2019 IBM. + ~ Modifications Copyright © 2018-2019 AT&T Intellectual Property. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. @@ -15,11 +16,18 @@ --> <configuration> + + <property name="localPattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"/> + <property name="defaultPattern" + value="%date{ISO8601,UTC}|%X{RequestID}|%X{InvocationID}|%thread|%X{ServiceName}|%X{ClientIPAddress}|%logger{50}| %msg%n"/> + <property name="testing" + value="%X{RequestID}|%X{InvocationID}|%logger{50}| %msg%n"/> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> - <pattern>%d{HH:mm:ss.SSS} %-5level [%thread] %logger{50} - %msg%n</pattern> + <pattern>${testing}</pattern> </encoder> </appender> |