blob: 91654645c80662b3f71de425da37af1cdaf918eb [file] [log] [blame]
liangke2817f442018-01-30 18:39:25 +08001version: 1
2disable_existing_loggers: False
3
4loggers:
5 vio:
6 handlers: [vio_handler]
7 level: "DEBUG"
8 propagate: False
liangke2817f442018-01-30 18:39:25 +08009handlers:
10 vio_handler:
11 level: "DEBUG"
12 class: "logging.handlers.RotatingFileHandler"
13 filename: "/var/log/onap/multicloud/vio/vio.log"
14 formatter: "mdcFormat"
liangke21929012018-03-22 17:06:32 +080015 maxBytes: 52428800
liangke2817f442018-01-30 18:39:25 +080016 backupCount: 10
liangke2817f442018-01-30 18:39:25 +080017formatters:
18 standard:
liangke21929012018-03-22 17:06:32 +080019 format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"
liangke2817f442018-01-30 18:39:25 +080020 mdcFormat:
liangke21929012018-03-22 17:06:32 +080021 format: "%(asctime)s|||||%(name)s||%(thread)s||%(funcName)s||%(levelname)s||%(message)s||||%(mdc)s \t"
22 mdcfmt: "{requestID} {invocationID} {serviceName} {serviceIP}"
liangke2817f442018-01-30 18:39:25 +080023 datefmt: "%Y-%m-%d %H:%M:%S"
24 (): onaplogging.mdcformatter.MDCFormatter