From: Thorsten S Date: Fri, 3 Jan 2020 22:00:43 +0000 (+0100) Subject: better logging X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a0ab4e90f3056cb876516c739c8bcb53745da9d2;p=urlbot-v3.git better logging --- diff --git a/logging.ini b/logging.ini index ef662b2..49372e6 100644 --- a/logging.ini +++ b/logging.ini @@ -1,5 +1,5 @@ [loggers] -keys=root +keys=root,pika [handlers] keys=stream_handler @@ -11,6 +11,11 @@ keys=formatter level=INFO handlers=stream_handler +[logger_pika] +level=WARNING +handlers=stream_handler +qualname=pika + [handler_stream_handler] class=StreamHandler level=INFO @@ -18,4 +23,4 @@ formatter=formatter args=(sys.stderr,) [formatter_formatter] -format=%(levelname).1s %(funcName)-15s %(message)s +format=%(levelname).1s %(name)s:%(funcName)-15s %(message)s