Browse Source

make debug output more readable

master
jcao219 12 years ago
parent
commit
3b8b154a66
  1. 3
      wolfbot.py

3
wolfbot.py

@ -38,6 +38,9 @@ def main(): @@ -38,6 +38,9 @@ def main():
handler.setFormatter(formatter)
else:
logging.basicConfig(level=logging.DEBUG)
formatter = UTCFormatter('[%(asctime)s] %(message)s', '%H:%M:%S')
for handler in logging.getLogger().handlers:
handler.setFormatter(formatter)
cli = IRCClient(
{"privmsg":modules.common.on_privmsg,

Loading…
Cancel
Save