From a0ab4e90f3056cb876516c739c8bcb53745da9d2 Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Fri, 3 Jan 2020 23:00:43 +0100 Subject: [PATCH] better logging --- logging.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2