Fix wrong logging formatter attribute
This commit is contained in:
parent
5478820479
commit
722f24356b
@ -20,7 +20,7 @@ REPO_REMOVE_CMD = '/usr/bin/repo-remove'
|
|||||||
DB_EXT = 'db.tar.xz'
|
DB_EXT = 'db.tar.xz'
|
||||||
|
|
||||||
# ========== Logging setup ==========
|
# ========== Logging setup ==========
|
||||||
console_formatter = logging.Formatter('==> %(level)s %(message)s')
|
console_formatter = logging.Formatter('==> %(levelname)s %(message)s')
|
||||||
syslog = logging.getLogger(__name__)
|
syslog = logging.getLogger(__name__)
|
||||||
syslog.setLevel(logging.DEBUG)
|
syslog.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user