aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-09-06 19:26:29 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-09-06 19:26:29 -0500
commit8f6daf0f753be09fa777cd51bfd64a9906d8ad9c (patch)
treec9d62350e3533bcefd2501609dffb2b350c68393
parentf12d4c9f2d7229408708230932a227a05668902b (diff)
Correct paths to logback filters
Issue-ID: POLICY-3610 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id3011e07045fd485df75184f4a766ca91274f56b
-rw-r--r--policy-management/src/main/server/config/logback.xml4
-rw-r--r--policy-utils/src/test/resources/logback-test.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/policy-management/src/main/server/config/logback.xml b/policy-management/src/main/server/config/logback.xml
index 2d0697d0..1bd7770b 100644
--- a/policy-management/src/main/server/config/logback.xml
+++ b/policy-management/src/main/server/config/logback.xml
@@ -101,7 +101,7 @@
<maxHistory>30</maxHistory>
<totalSizeCap>10GB</totalSizeCap>
</rollingPolicy>
- <filter class="org.onap.policy.drools.utils.logging.LoggerMarkerFilter$MetricLoggerMarkerFilter" />
+ <filter class="org.onap.policy.common.utils.logging.LoggerMarkerFilter$MetricLoggerMarkerFilter" />
<encoder>
<pattern>${metricPattern}</pattern>
</encoder>
@@ -119,7 +119,7 @@
<maxHistory>30</maxHistory>
<totalSizeCap>10GB</totalSizeCap>
</rollingPolicy>
- <filter class="org.onap.policy.drools.utils.logging.LoggerMarkerFilter$TransactionLoggerMarkerFilter" />
+ <filter class="org.onap.policy.common.utils.logging.LoggerMarkerFilter$TransactionLoggerMarkerFilter" />
<encoder>
<pattern>${transactionPattern}</pattern>
</encoder>
diff --git a/policy-utils/src/test/resources/logback-test.xml b/policy-utils/src/test/resources/logback-test.xml
index 1a19758e..cd1f86ad 100644
--- a/policy-utils/src/test/resources/logback-test.xml
+++ b/policy-utils/src/test/resources/logback-test.xml
@@ -23,7 +23,7 @@
<property name="pattern" value="%X{RequestID}|%X{InvocationID}|%X{ServiceName}|%X{PartnerName}|%X{BeginTimestamp}|%X{EndTimestamp}|%X{ElapsedTime}|%X{ServiceInstanceID}|%X{VirtualServerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceUUID}|%X{Severity}|%X{TargetEntity}|%X{TargetServiceName}|%X{Server}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{ClientIPAddress}|%X{ProcessKey}|%X{RemoteHost}||%X{TargetVirtualEntity}|%level|%logger{0}|%thread| %msg%n"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <filter class="org.onap.policy.drools.utils.logging.LoggerMarkerFilter$MetricLoggerMarkerFilter" />
+ <filter class="org.onap.policy.common.utils.logging.LoggerMarkerFilter$MetricLoggerMarkerFilter" />
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>${pattern}</Pattern>
</encoder>