aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index dc50264..3e6d9b0 100755
--- a/bot.py
+++ b/bot.py
@@ -34,7 +34,7 @@ logging.basicConfig(level=logging.DEBUG,
34console = logging.StreamHandler() 34console = logging.StreamHandler()
35console.setLevel(logging.INFO) 35console.setLevel(logging.INFO)
36# set a format which is simpler for console use 36# set a format which is simpler for console use
37formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s') 37formatter = logging.Formatter('%(name)-8s: %(levelname)-4s %(message)s')
38# tell the handler to use this format 38# tell the handler to use this format
39console.setFormatter(formatter) 39console.setFormatter(formatter)
40# add the handler to the root logger 40# add the handler to the root logger
Powered by cgit v1.2.3 (git 2.41.0)