From 7006a01f5bfec11664e499a8811f30da0782da32 Mon Sep 17 00:00:00 2001 From: bug Lady Date: Wed, 13 Nov 2019 11:13:23 +0100 Subject: [PATCH] Updated 9 logging.dat (markdown) --- 9-logging.dat.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/9-logging.dat.md b/9-logging.dat.md index fc028b8..0f1c727 100644 --- a/9-logging.dat.md +++ b/9-logging.dat.md @@ -4,4 +4,43 @@ see also: * [https://bitmessage.org/forum/index.php/topic,4820.msg11163.html#msg11163](https://bitmessage.org/forum/index.php/topic,4820.msg11163.html#msg11163) - * http://web.archive.org/web/20170712122006/https://bitmessage.org/forum/index.php/topic,4820.msg11163.html \ No newline at end of file + * http://web.archive.org/web/20170712122006/https://bitmessage.org/forum/index.php/topic,4820.msg11163.html + + + +example: +` + +[loggers] +keys = root,null + +[handlers] +keys = null + +[formatters] +keys = null + +[formatter_null] +formatter = null + +[logger_root] +level=CRITICAL +handlers=null + +[logger_null] +level=CRITICAL +handlers=null +qualname=default +propagate=0 + +[handler_null] +class = logging.NullHandler +formatter = null +level = CRITICAL +args=() + +[formatter_syslog] +format=%(asctime)s %(threadName)s %(filename)s@%(lineno)d %(message)s +datefmt=%b %d %H:%M:%S + +` \ No newline at end of file