[Core] Add line numbers to non-dev logging
This commit is contained in:
parent
cde17925fc
commit
b754f9f908
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue