From 5370150cea8997a262fc904af77885e9b14a9b68 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 17 Nov 2013 14:17:24 +0100 Subject: improved light color config --- pyload/Core.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pyload') 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', -- cgit v1.2.3