Security Logging Fields 56/129156/1
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Fri, 6 May 2022 10:31:54 +0000 (11:31 +0100)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Fri, 6 May 2022 10:31:54 +0000 (11:31 +0100)
- Made logging.format value case insensitive for consistency as we did same change for cps-temporal, ncmp-dmi-plugin and oom.

Issue-ID: CPS-986
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I085a3777e8f4cf9e6b62e40d05672ce455916a85
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
cps-service/src/main/resources/logback-spring.xml

index ce1af13..0307602 100644 (file)
@@ -58,7 +58,7 @@
     </appender>
 
     <appender name="asyncConsole" class="ch.qos.logback.classic.AsyncAppender">
-        <if condition='property("loggingFormat").equals("json")'>
+        <if condition='property("loggingFormat").equalsIgnoreCase("json")'>
             <then>
                 <appender-ref ref="jsonConsole"/>
             </then>