summaryrefslogtreecommitdiffstats
path: root/ms/logging.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ms/logging.yaml')
-rw-r--r--ms/logging.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ms/logging.yaml b/ms/logging.yaml
new file mode 100644
index 000000000..3a31ca85c
--- /dev/null
+++ b/ms/logging.yaml
@@ -0,0 +1,14 @@
+version: 1
+
+disable_existing_loggers: True
+
+formatters:
+ mdcFormatter:
+ format: "%(asctime)s:[%(name)s] %(created)f %(module)s %(funcName)s %(pathname)s %(process)d %(levelno)s :[ %(threadName)s %(thread)d]: [%(mdc)s]: [%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"
+ mdcfmt: "{key1} {key2} {key3} {key4} dwdawdwa "
+ datefmt: "%Y-%m-%d %H:%M:%S"
+ (): onaplogging.mdcformatter.MDCFormatter
+ standard:
+ format: '%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d]
+ [%(levelname)s]:%(message)s '
+ datefmt: "%Y-%m-%d %H:%M:%S" \ No newline at end of file