diff options
-rw-r--r-- | ocata/ocata/pub/config/log.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ocata/ocata/pub/config/log.yml b/ocata/ocata/pub/config/log.yml index 224864d1..bb6321fa 100644 --- a/ocata/ocata/pub/config/log.yml +++ b/ocata/ocata/pub/config/log.yml @@ -24,11 +24,10 @@ handlers: backupCount: 10 formatters: standard: - format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s" + format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s" mdcFormat: - format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:[%(mdc)s]: %(message)s" - mdcfmt: "{requestID}" + 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 - |