blob: ef71b907c818e6615e78446db6d0236183c7f102 [file] [log] [blame]
Bin Yangc86d6a72018-03-13 10:03:08 +08001version: 1
2disable_existing_loggers: False
3
4loggers:
5 ocata:
6 handlers: [ocata_handler]
7 level: "DEBUG"
8 propagate: False
9 newton_base:
10 handlers: [ocata_handler]
11 level: "DEBUG"
12 propagate: False
13 common:
14 handlers: [ocata_handler]
15 level: "DEBUG"
16 propagate: False
17
18handlers:
19 ocata_handler:
20 level: "DEBUG"
21 class: "logging.handlers.RotatingFileHandler"
22 filename: "/var/log/onap/multicloud/openstack/ocata/ocata.log"
23 formatter: "mdcFormat"
24 maxBytes: 1024*1024*50
25 backupCount: 10
26
27formatters:
28 standard:
29 format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"
30 mdcFormat:
31 format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:[%(mdc)s]: %(message)s"
32 mdcfmt: "{requestID}"
33 datefmt: "%Y-%m-%d %H:%M:%S"
34 (): onaplogging.mdcformatter.MDCFormatter