summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/tests/log_config.yaml
diff options
context:
space:
mode:
authorJoseph O'Leary <joseph.o.leary@est.tech>2020-09-10 12:28:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-10 12:28:23 +0000
commit2c6ad52e8d0e29b8037776fff035f031558cc4b0 (patch)
tree08b7de937b034a63c883ac9d3da00f6e2e2b381f /components/pm-subscription-handler/tests/log_config.yaml
parent8265ba613930d3b834d26b0802682c3bef6c2c04 (diff)
parent0080fa4309a40599b7d239b53bab9a74182ae500 (diff)
Merge "[PMSSH] Add sdnc model info to event publish"
Diffstat (limited to 'components/pm-subscription-handler/tests/log_config.yaml')
-rwxr-xr-xcomponents/pm-subscription-handler/tests/log_config.yaml9
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