diff options
author | YiLi <li.yi101@zte.com.cn> | 2018-03-27 09:57:32 +0800 |
---|---|---|
committer | YiLi <li.yi101@zte.com.cn> | 2018-03-27 10:06:46 +0800 |
commit | fc6926a65285263a32bae736684ff5c765ebf3e2 (patch) | |
tree | 7dce72c6657e776f9cef3cb96ecd95d05865c1f4 /rulemgt-standalone/src/main | |
parent | aa8c16a5c4421edb65ccb15f188adf06fad9d4e1 (diff) |
Revert the Log to a Human Readable Format
Change-Id: If140469fbf977c17b256ecb9ab1f2a64f3235bfc
Issue-ID: HOLMES-125
Signed-off-by: YiLi <li.yi101@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml index adf9c76..a043ab2 100644 --- a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml +++ b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml @@ -31,21 +31,22 @@ logging: # Sets the level for 'com.example.app' to DEBUG. org.onap.holmes.rulemgt: ALL - + appenders: - type: console threshold: ALL timeZone: UTC - logFormat: "%nopexception%logger\n|%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC}\n|%level\n|%message\n|[%mdc]\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" - 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" - currentLogFilename: /var/log/ONAP/holmes/rulemgt-relation-error.log + #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" + currentLogFilename: ../logs/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: DEBUG - 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" 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 |