Log: move process id to front of pathname in log format

The previous filename:pid has been removed, the filename is part of the pathname.
No need for double filename info and wasting space in the log line.
This commit is contained in:
Clemens Schwaighofer
2025-11-18 15:49:46 +09:00
parent 7f2dc13c31
commit 52919cbc49

View File

@@ -702,9 +702,9 @@ class Log(LogParent):
# log name
'[%(name)s] '
# filename + pid
'[%(filename)s:%(process)d] '
# path + func + line number
'[%(pathname)s:%(funcName)s:%(lineno)d] '
# '[%(filename)s:%(process)d] '
# pid + path/filename + func + line number
'[%(process)d:%(pathname)s:%(funcName)s:%(lineno)d] '
# error level
'<%(levelname)s> '
# message