Fix wrong logging formatter attribute

This commit is contained in:
Eric Torres 2019-01-28 10:46:27 -08:00
parent 5478820479
commit 722f24356b

View File

@ -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)