diff options
author | Jinwei Zhao <[email protected]> | 2017-01-31 08:45:36 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-31 08:45:36 +0800 |
commit | 3e3bd71f48821d3cdb34536be4dcecdcde9b49ab (patch) | |
tree | 6f1c42eeb3d809d26962893e3c7510c1daff50d6 /bot.py | |
parent | 66d411c97ba82bfe3b072b57d2b7f8a6554723d6 (diff) | |
download | COMM2TG-3e3bd71f48821d3cdb34536be4dcecdcde9b49ab.tar.gz |
async test
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 |