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