[issue18824] Adding LogRecord attribute "traceback"
Sworddragon
report at bugs.python.org
Sat Aug 24 13:16:56 CEST 2013
New submission from Sworddragon:
On configuring a logger with logging.basicConfig() and using logging.exception() the traceback is always written implicitly to the end. This makes it not possible to create a formation that writes something beyond the traceback. For example it could be something like that: logging.basicConfig(filename = '/tmp/python.log', format = '%(asctime)s\n%(traceback)s\nSome_text_or_LogRecords_after_the_traceback', datefmt = '%Y-%m-%d %H:%M:%S')
----------
components: Library (Lib)
messages: 196072
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Adding LogRecord attribute "traceback"
type: enhancement
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18824>
_______________________________________
More information about the Python-bugs-list
mailing list