Fix logging format

Fixes #361
This commit is contained in:
ZyX 2013-03-24 20:21:21 +04:00
parent 68e29a7eba
commit 7764bcc6a1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class Powerline(object):
# Create logger
if not logger:
log_format = common_config.get('format', '%(asctime)s:%(level)s:%(message)s')
log_format = common_config.get('format', '%(asctime)s:%(levelname)s:%(message)s')
formatter = logging.Formatter(log_format)
level = getattr(logging, common_config.get('log_level', 'WARNING'))