diff options
Diffstat (limited to 'bot.py')
-rwxr-xr-x | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ logging.basicConfig(level=logging.DEBUG, | |||
34 | console = logging.StreamHandler() | 34 | console = logging.StreamHandler() |
35 | console.setLevel(logging.INFO) | 35 | console.setLevel(logging.INFO) |
36 | # set a format which is simpler for console use | 36 | # set a format which is simpler for console use |
37 | formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s') | 37 | formatter = logging.Formatter('%(name)-8s: %(levelname)-4s %(message)s') |
38 | # tell the handler to use this format | 38 | # tell the handler to use this format |
39 | console.setFormatter(formatter) | 39 | console.setFormatter(formatter) |
40 | # add the handler to the root logger | 40 | # add the handler to the root logger |