diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2022-07-25 16:50:03 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2022-07-25 16:50:03 +0800 |
commit | 61da3e3d053548815054384e5e18750e87463ee9 (patch) | |
tree | cd089b29bbc2cefef392f2d390163b246de806cb | |
parent | cab62f33e4cf82413357c89f033bdea478c21d07 (diff) |
Fixed a logging problem
Issue-ID: HOLMES-563
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Change-Id: I02fcbf121bcf6f92c33edc40f3a7479d99508bc1
-rw-r--r-- | engine-d-standalone/src/main/assembly/conf/engine-d.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |