From 61da3e3d053548815054384e5e18750e87463ee9 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Mon, 25 Jul 2022 16:50:03 +0800 Subject: Fixed a logging problem Issue-ID: HOLMES-563 Signed-off-by: Guangrong Fu Change-Id: I02fcbf121bcf6f92c33edc40f3a7479d99508bc1 --- engine-d-standalone/src/main/assembly/conf/engine-d.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine-d-standalone/src/main/assembly/conf') diff --git a/engine-d-standalone/src/main/assembly/conf/engine-d.yml b/engine-d-standalone/src/main/assembly/conf/engine-d.yml index 965b9fd..1e4ae88 100644 --- a/engine-d-standalone/src/main/assembly/conf/engine-d.yml +++ b/engine-d-standalone/src/main/assembly/conf/engine-d.yml @@ -43,16 +43,16 @@ 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: "%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/engine-d-error.log archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/engine-d-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/engine-d-debug.log archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/engine-d-debug-%d{yyyy-MM-dd}.log.gz archivedFileCount: 7 -- cgit 1.2.3-korg