nicer output

This commit is contained in:
Luke Rogers 2013-10-03 23:20:27 +13:00
parent 6f3a10527e
commit c2271b1195
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ def get_logger():
# create a formatter and set the formatter for the handler.
frmt = logging.Formatter('%(asctime)s [%(levelname)s] %(message)s')
fh.setFormatter(frmt)
simple_frmt = logging.Formatter('[%(levelname)s] %(message)s')
simple_frmt = logging.Formatter('%(message)s')
sh.setFormatter(simple_frmt)
# add the Handlers to the logger