make debug output more readable
This commit is contained in:
parent
07e1cced3a
commit
db011f7ed3
@ -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…
x
Reference in New Issue
Block a user