diff options
Diffstat (limited to 'pyload')
-rw-r--r-- | pyload/Core.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyload/Core.py b/pyload/Core.py index 8897764a7..bea47c3e2 100644 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -527,7 +527,7 @@ class Core(object): else: from lib.colorlog import ColoredFormatter - if self.config['log']['console_color'] == "Light": + if self.config['log']['console_color'] == "Full": cfmt = "%(asctime)s %(log_color)s%(bold)s%(white)s %(levelname)+8s %(reset)s %(message)s" clr = { 'DEBUG': 'bg_cyan', @@ -536,11 +536,10 @@ class Core(object): 'ERROR': 'bg_red', 'CRITICAL': 'bg_purple', } - elif self.config['log']['console_color'] == "Full": - cfmt = "%(asctime)s %(log_color)s[%(levelname)-8s] %(message)s" + elif self.config['log']['console_color'] == "Light": + cfmt = "%(log_color)s%(asctime)s %(levelname)+8s %(message)s" clr = { 'DEBUG': 'cyan', - 'INFO': 'green', 'WARNING': 'yellow', 'ERROR': 'red', 'CRITICAL': 'purple', |