Номер строки в журнале питона

%(lineno)d Source line number where the logging call was issued (if available)

formatter = logging.Formatter('[%(asctime)s] p%(process)s {%(pathname)s:%(lineno)d} %(levelname)s - %(message)s','%m-%d %H:%M:%S')
Akash Tesla