From 71ad58788ebfd666f6922fd9c16f77a9a4e39e27 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Mon, 25 Jul 2022 16:49:37 +0800 Subject: Fixed a logging problem Issue-ID: HOLMES-563 Signed-off-by: Guangrong Fu Change-Id: I869127d94ba93c73326c3fc593c96564ef8251de --- rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rulemgt-standalone/src/main/assembly') diff --git a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml index 704991d..5b35bce 100644 --- a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml +++ b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml @@ -36,17 +36,17 @@ logging: - type: console threshold: INFO timeZone: UTC - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n" + logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t][%X{RequestID}][%X{InvocationID}] - %m%n" - type: file threshold: ERROR #logFormat: "%nopexception%logger\n|%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC}\n|%level\n|%message\n|%X{InvocationID}\n|%rootException\n|%marker\n|%thread\n|%n \r\n" - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n" + logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t][%X{RequestID}][%X{InvocationID}] - %m%n" currentLogFilename: /var/log/ONAP/holmes/rulemgt-relation-error.log archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/rulemgt-relation-error-%d{yyyy-MM-dd}.log.gz archivedFileCount: 7 - type: file threshold: INFO - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n" + logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t][%X{RequestID}][%X{InvocationID}] - %m%n" currentLogFilename: /var/log/ONAP/holmes/rulemgt-relation-debug.log archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/rulemgt-relation-debug-%d{yyyy-MM-dd}.log.gz archivedFileCount: 7 -- cgit 1.2.3-korg