blob: f3f397728b81fbffcfe9a453eacd7051296c45dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
version: 1
disable_existing_loggers: true
loggers:
onap_logger:
level: DEBUG
handlers: [onap_log_handler, stdout_handler]
propagate: false
handlers:
onap_log_handler:
class: logging.handlers.RotatingFileHandler
filename: ./application.log
mode: a
maxBytes: 10000000
backupCount: 10
formatter: mdcFormatter
stdout_handler:
class: logging.StreamHandler
formatter: mdcFormatter
formatters:
mdcFormatter:
format: '%(asctime)s | %(threadName)s | %(thread)d | %(levelname)s | %(module)s
| %(funcName)s | %(mdc)s | %(message)s'
mdcfmt: '{ServiceName} | {RequestID} | {InvocationID}'
datefmt: '%Y-%m-%dT%H:%M:%S%z'
(): onaplogging.mdcformatter.MDCFormatter
|