From 18f5c334f11a93c711d9c178ffa92cd554981152 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 12 Jul 2013 15:12:07 +0200 Subject: [PATCH] Clean log module --- radicale/log.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/radicale/log.py b/radicale/log.py index 0135a0b..4225d03 100644 --- a/radicale/log.py +++ b/radicale/log.py @@ -34,6 +34,7 @@ from . import config LOGGER = logging.getLogger() + def start(): filename = os.path.expanduser(config.get("logging", "config")) debug = config.getboolean("logging", "debug") @@ -53,5 +54,6 @@ def start(): LOGGER.addHandler(handler) if debug: LOGGER.setLevel(logging.DEBUG) - LOGGER.debug("Logging configuration file '%s' not found, using stdout." - % filename) + LOGGER.debug( + "Logging configuration file '%s' not found, using stdout." % + filename)