diff options
author | YiLi <li.yi101@zte.com.cn> | 2018-03-27 09:29:06 +0800 |
---|---|---|
committer | YiLi <li.yi101@zte.com.cn> | 2018-03-27 09:29:06 +0800 |
commit | 39a1d413420242ceef377f319d3c3f5dc8034398 (patch) | |
tree | c751f5a65156a5e3c6f7a5f707125d36e26ae931 /engine-d-standalone/src | |
parent | 6a9974c4a206ed774e54fbfa2e068a671c7efbd6 (diff) |
Revert the Log to a Human Readable Format
Change-Id: Ic1c3c9c0192def33ff59ed5adb34d99df9841258
Issue-ID: HOLMES-125
Signed-off-by: YiLi <li.yi101@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src')
-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 7ed3c8e..74e26ba 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: 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"
+ logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{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: 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/engine-d-debug.log
archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/engine-d-debug-%d{yyyy-MM-dd}.log.gz
archivedFileCount: 7
|