summaryrefslogtreecommitdiffstats
path: root/pyload/Core.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:17:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:17:24 +0100
commit5370150cea8997a262fc904af77885e9b14a9b68 (patch)
treeb27747df806879498852e16167678641c5150a1c /pyload/Core.py
parentMerge pull request #379 from vuolter/m/c_logging (diff)
downloadpyload-5370150cea8997a262fc904af77885e9b14a9b68.tar.xz
improved light color config
Diffstat (limited to 'pyload/Core.py')
-rw-r--r--pyload/Core.py7
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',