From 7a7d005ef918976a03cef5f58862b17975887209 Mon Sep 17 00:00:00 2001 From: Dante Date: Fri, 16 Feb 2018 23:53:46 +0100 Subject: [PATCH] Change logging mode from DEBUG to INFO Debug mode caused many trash to get printed in the console, and passing logging level in class initiation didn't seem to fix it. --- fbchat/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/utils.py b/fbchat/utils.py index f9670fc5..8444f368 100644 --- a/fbchat/utils.py +++ b/fbchat/utils.py @@ -17,7 +17,7 @@ # Log settings log = logging.getLogger("client") -log.setLevel(logging.DEBUG) +log.setLevel(logging.INFO) # Creates the console handler handler = logging.StreamHandler() log.addHandler(handler)