diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2022-07-25 16:49:37 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2022-07-25 16:49:37 +0800 |
commit | 71ad58788ebfd666f6922fd9c16f77a9a4e39e27 (patch) | |
tree | 3905622f4fe13c56e3fda21001a1f0c65594216e | |
parent | d96d16602f98473f3d0898f8a0dc42d00c2c8f15 (diff) |
Fixed a logging problem
Issue-ID: HOLMES-563
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Change-Id: I869127d94ba93c73326c3fc593c96564ef8251de
-rw-r--r-- | rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |