From 2a55bfc5c735da26e0599e194e91af3c886e7e33 Mon Sep 17 00:00:00 2001 From: KM-200 <39034780+KM-200@users.noreply.github.com> Date: Wed, 9 May 2018 18:34:47 +0200 Subject: [PATCH] Updated 6 Tips & Tricks (markdown) --- 6-Tips-&-Tricks.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/6-Tips-&-Tricks.md b/6-Tips-&-Tricks.md index db2f377..cbabf0f 100644 --- a/6-Tips-&-Tricks.md +++ b/6-Tips-&-Tricks.md @@ -1,6 +1,35 @@ * Reduce the "log level" to have smaller "debug.log" files, or none at all. -edit a text file "logger.dat" [accordingly](https://docs.python.org/2/library/logging.config.html#logging.config.fileConfig): how to [do it](https://bitmessage.org/forum/index.php?topic=4820.msg11163#msg11163) +edit a text file "logger.dat" [accordingly](https://docs.python.org/2/library/logging.config.html#logging.config.fileConfig): how to [do it](https://bitmessage.org/forum/index.php?topic=4820.msg11163#msg11163) to reduce logging, edit a text file .../src/logger.dat with content: + + +[logger_root] + +level=NOTSET + +handlers=handler_null + +[formatters] + +keys = + +[formatter_null] + +wtf=null + +[handlers] + +keys = + +[handler_null] + +class = + +[loggers] + +keys = root + + + + -* -* \ No newline at end of file