From fb3577479088d5c9fad8f4b08f394e50f06887c0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 9 Jun 2014 14:32:11 -0400 Subject: [PATCH] Remove funcName from log messages. --- bitshift/crawler/crawl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitshift/crawler/crawl.py b/bitshift/crawler/crawl.py index c116383..e67f5e8 100644 --- a/bitshift/crawler/crawl.py +++ b/bitshift/crawler/crawl.py @@ -78,8 +78,8 @@ def _configure_logging(): logging.getLogger("urllib3").setLevel(logging.WARNING) formatter = logging.Formatter( - fmt=("%(asctime)s %(levelname)s %(name)s:%(funcName)s" - " %(message)s"), datefmt="%y-%m-%d %H:%M:%S") + fmt=("%(asctime)s %(levelname)s %(name)s %(message)s"), + datefmt="%y-%m-%d %H:%M:%S") file_handler = logging.handlers.TimedRotatingFileHandler( "%s/%s" % (log_dir, "app.log"), when="H", interval=1,