diff options
author | YiLi <li.yi101@zte.com.cn> | 2018-03-16 10:21:23 +0800 |
---|---|---|
committer | YiLi <li.yi101@zte.com.cn> | 2018-03-16 10:21:23 +0800 |
commit | c88c32f8d11daac84dd5573a9c24bbfad8ee9418 (patch) | |
tree | 12dda1dea031256f39ae864e9f5bd5ea454097d4 /rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | |
parent | 18aceb1795fc25fbe770b6d6bb6bbe68d4bf70fc (diff) |
add init log filter and modify rulemgt.yml
Change-Id: Ia895ffd658164993d0532efb0e51eb0c4c56377e
Issue-ID: HOLMES-112
Signed-off-by: YiLi <li.yi101@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/conf/rulemgt.yml')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml index b0a934b..adf9c76 100644 --- a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml +++ b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml @@ -24,30 +24,31 @@ server: logging: # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. - level: INFO + level: ALL # Logger-specific levels. loggers: # Sets the level for 'com.example.app' to DEBUG. - com.example: DEBUG + org.onap.holmes.rulemgt: ALL appenders: - type: console - threshold: INFO + threshold: ALL timeZone: UTC - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" + 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" - type: file - threshold: INFO - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" - currentLogFilename: ../logs/fm-relation.log - archivedLogFilenamePattern: ../logs/zip/fm-relation-%d{yyyy-MM-dd}.log.gz + 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 + 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" + 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 - # - type: socketJson - threshold: INFO - # autoDiscover: false - # logstashServiceName: logstash - # logstashServiceVersion: v1 #database database: |