summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/log_config.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-08-05 10:12:04 +0100
committerefiacor <fiachra.corcoran@est.tech>2020-08-13 11:22:39 +0100
commit38ccb471732faaad6a25defee0753c1c5ac60cf0 (patch)
tree6b8fd360895ec5cc621d89ab35af7c14a4c05caf /components/pm-subscription-handler/log_config.yaml
parent66f25c47daae80fe0ebc57bfec32596608d0be5d (diff)
Refactor and bug fixes
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I8fe91bfdd2f1a2c8a6ca914e52d82dce04bffc0e Issue-ID: DCAEGEN2-2146
Diffstat (limited to 'components/pm-subscription-handler/log_config.yaml')
-rwxr-xr-xcomponents/pm-subscription-handler/log_config.yaml54
1 files changed, 27 insertions, 27 deletions
diff --git a/components/pm-subscription-handler/log_config.yaml b/components/pm-subscription-handler/log_config.yaml
index 971c1882..b2d8f43c 100755
--- a/components/pm-subscription-handler/log_config.yaml
+++ b/components/pm-subscription-handler/log_config.yaml
@@ -1,27 +1,27 @@
-version: 1
-
-disable_existing_loggers: true
-
-loggers:
- onap_logger:
- level: INFO
- handlers: [onap_log_handler, stdout_handler]
- propagate: false
-handlers:
- onap_log_handler:
- class: logging.handlers.RotatingFileHandler
- filename: /var/log/ONAP/dcaegen2/services/pmsh/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
+version: 1
+
+disable_existing_loggers: true
+
+loggers:
+ onap_logger:
+ level: INFO
+ handlers: [onap_log_handler, stdout_handler]
+ propagate: false
+handlers:
+ onap_log_handler:
+ class: logging.handlers.RotatingFileHandler
+ filename: /var/log/ONAP/dcaegen2/services/pmsh/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