nicer output
This commit is contained in:
parent
6f3a10527e
commit
c2271b1195
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue