aboutsummaryrefslogtreecommitdiffstats
path: root/ms/logging.yaml
blob: 3a31ca85cfd31300ea97b55e9e960136d5434acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
version: 1

disable_existing_loggers: True

formatters:
    mdcFormatter:
        format: "%(asctime)s:[%(name)s] %(created)f %(module)s %(funcName)s %(pathname)s %(process)d %(levelno)s :[ %(threadName)s  %(thread)d]: [%(mdc)s]: [%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"
        mdcfmt: "{key1} {key2} {key3} {key4} dwdawdwa "
        datefmt: "%Y-%m-%d %H:%M:%S"
        (): onaplogging.mdcformatter.MDCFormatter
    standard:
        format: '%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d]
            [%(levelname)s]:%(message)s  '
        datefmt: "%Y-%m-%d %H:%M:%S"