diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2015-11-12 18:56:30 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2015-11-12 18:56:30 +0000 |
commit | b754f9f90839fd158d0aa0fef288dff03de5802c (patch) | |
tree | af2dd16887e1d5de93b1778e2c2975e6d978c6d5 /deluge | |
parent | cde17925fc2323fcddcf4e608ab7e51d948b1ba5 (diff) | |
download | deluge-b754f9f90839fd158d0aa0fef288dff03de5802c.tar.gz deluge-b754f9f90839fd158d0aa0fef288dff03de5802c.tar.bz2 deluge-b754f9f90839fd158d0aa0fef288dff03de5802c.zip |
[Core] Add line numbers to non-dev logging
Diffstat (limited to 'deluge')
-rw-r--r-- | deluge/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |