From b754f9f90839fd158d0aa0fef288dff03de5802c Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 12 Nov 2015 18:56:30 +0000 Subject: [PATCH] [Core] Add line numbers to non-dev logging --- deluge/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/log.py b/deluge/log.py index 4f541d33b..dc4d9cb4b 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -27,7 +27,7 @@ LoggingLoggerClass = logging.getLoggerClass() if "dev" in common.get_version(): DEFAULT_LOGGING_FORMAT = "%%(asctime)s.%%(msecs)03.0f [%%(levelname)-8s][%%(name)-%ds:%%(lineno)-4d] %%(message)s" else: - DEFAULT_LOGGING_FORMAT = "%%(asctime)s [%%(levelname)-8s][%%(name)-%ds] %%(message)s" + DEFAULT_LOGGING_FORMAT = "%%(asctime)s [%%(levelname)-8s][%%(name)-%ds:%%(lineno)-4d] %%(message)s" MAX_LOGGER_NAME_LENGTH = 10