mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-15 16:19:28 +01:00
Changed console logging format to make it more readable
This commit is contained in:
@@ -39,7 +39,7 @@ class RotatingLogger(object):
|
||||
consolehandler = logging.StreamHandler()
|
||||
consolehandler.setLevel(logging.DEBUG)
|
||||
|
||||
consoleformatter = logging.Formatter('%(asctime)s - %(levelname)-7s :: %(message)s', '%d-%b-%Y %H:%M:%S')
|
||||
consoleformatter = logging.Formatter('%(asctime)s - %(levelname)s :: %(message)s', '%d-%b-%Y %H:%M:%S')
|
||||
|
||||
consolehandler.setFormatter(consoleformatter)
|
||||
l.addHandler(consolehandler)
|
||||
|
||||
Reference in New Issue
Block a user