diff options
Diffstat (limited to 'components/pm-subscription-handler/tests/log_config.yaml')
-rwxr-xr-x | components/pm-subscription-handler/tests/log_config.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/tests/log_config.yaml b/components/pm-subscription-handler/tests/log_config.yaml new file mode 100755 index 00000000..56620708 --- /dev/null +++ b/components/pm-subscription-handler/tests/log_config.yaml @@ -0,0 +1,20 @@ +version: 1 + +disable_existing_loggers: true + +loggers: + onap_logger: + level: INFO + handlers: [stdout_handler] + propagate: false +handlers: + 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 |