[Core] Add line numbers to non-dev logging

This commit is contained in:
Calum Lind 2015-11-12 18:56:30 +00:00
parent cde17925fc
commit b754f9f908
1 changed files with 1 additions and 1 deletions

View File

@ -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