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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18824>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to