From a9f976b1ad9d295d797178bb10cb274e29e571d4 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 11 May 2012 23:23:50 +0200 Subject: [PATCH] Add date to logging. closes #253 --- couchpotato/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/runner.py b/couchpotato/runner.py index 3ef8ae99..cf0e5fb9 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -129,7 +129,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En # Logger logger = logging.getLogger() - formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s', '%H:%M:%S') + formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s', '%m-%d %H:%M:%S') level = logging.DEBUG if debug else logging.INFO logger.setLevel(level)