summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/log_config.yaml
diff options
context:
space:
mode:
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