diff options
Diffstat (limited to 'components/pm-subscription-handler/tests/log_config.yaml')
-rwxr-xr-x | components/pm-subscription-handler/tests/log_config.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/tests/log_config.yaml b/components/pm-subscription-handler/tests/log_config.yaml index 1c3abd8b..f3f39772 100755 --- a/components/pm-subscription-handler/tests/log_config.yaml +++ b/components/pm-subscription-handler/tests/log_config.yaml @@ -5,9 +5,16 @@ disable_existing_loggers: true loggers: onap_logger: level: DEBUG - handlers: [stdout_handler] + 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 |