summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/pub/config/log.yml
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2021-08-19 13:11:03 +0800
committerBin Yang <bin.yang@windriver.com>2021-08-19 16:19:25 +0800
commitf96919ba694a1086f989074e1f5972ea5621eaf8 (patch)
tree4f4fda08538d709ea46fa28b29ad111a805dfee6 /windriver/titanium_cloud/pub/config/log.yml
parentd389053df48d5fb142ab2264d4157fb32a8afab2 (diff)
Remove dependency to onaplog package
due to it is not supported python3.8 Issue-ID: MULTICLOUD-1382 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I616edd885070724aa4daea3a3220547e2108531e
Diffstat (limited to 'windriver/titanium_cloud/pub/config/log.yml')
-rw-r--r--windriver/titanium_cloud/pub/config/log.yml9
1 files changed, 1 insertions, 8 deletions
diff --git a/windriver/titanium_cloud/pub/config/log.yml b/windriver/titanium_cloud/pub/config/log.yml
index ca3a5497..280980d0 100644
--- a/windriver/titanium_cloud/pub/config/log.yml
+++ b/windriver/titanium_cloud/pub/config/log.yml
@@ -23,16 +23,9 @@ handlers:
level: "DEBUG"
class: "logging.handlers.RotatingFileHandler"
filename: "/var/log/onap/multicloud/openstack/windriver/titanium_cloud.log"
- formatter: "mdcFormat"
+ formatter: "standard"
maxBytes: 52428800
backupCount: 10
formatters:
standard:
format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(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
-
-