From 18d17aa048737ec73f07227b482d811c6d42bdd6 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Wed, 3 Oct 2018 11:03:13 +0300 Subject: [PATCH] Allow default log handler to handle levels >= DEBUG --- pupy/pupysh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/pupysh.py b/pupy/pupysh.py index bacc8ce5..a6e19594 100755 --- a/pupy/pupysh.py +++ b/pupy/pupysh.py @@ -67,7 +67,7 @@ if __name__ == '__main__': logging_stream = logging.StreamHandler() logging_stream.setFormatter(logging.Formatter('%(asctime)-15s| %(message)s')) - logging_stream.setLevel(args.loglevel) + logging_stream.setLevel(logging.DEBUG) root_logger.handlers = []