summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/log.yml
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2021-02-07 11:24:46 +0800
committerdyh <dengyuanhong@chinamobile.com>2021-02-07 11:25:37 +0800
commit3bd4752aeb947d60b86bc2478dd594dc5e202d4f (patch)
treec58a7d20d70b072ebbaf8948a68a58202e399df5 /lcm/lcm/log.yml
parentb8dc81c09492daf50eb247172b5c75ceb4f113cc (diff)
Remove dependency on onaplogging in vnflcm
Change-Id: I176533e844f58cb877111f3d90f1d8869f14ac11 Issue-ID: VFC-1809 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'lcm/lcm/log.yml')
-rw-r--r--lcm/lcm/log.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/lcm/lcm/log.yml b/lcm/lcm/log.yml
index c4cc1e30..3c5d2aaa 100644
--- a/lcm/lcm/log.yml
+++ b/lcm/lcm/log.yml
@@ -26,7 +26,7 @@ handlers:
"logging.handlers.RotatingFileHandler"
filename: "/var/log/onap/vfc/gvnfm-vnflcm/runtime_lcm.log"
formatter:
- "mdcFormat"
+ "standard"
maxBytes: 52428800
backupCount: 10
django_handler:
@@ -42,9 +42,3 @@ formatters:
standard:
format:
"%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"
- mdcFormat:
- format:
- "%(asctime)s|||||%(name)s||%(thread)s||%(funcName)s||%(levelname)s||%(message)s||||%(mdc)s \t"
- mdcfmt: "{requestID} {invocationID} {serviceName} {serviceIP}"
- datefmt: "%Y-%m-%d %H:%M:%S"
- (): onaplogging.mdcformatter.MDCFormatter