I would like to submit the following proposal. In the logging module, I
would like handlers (like file handlers and stream handlers) to have a
field for exc_info printing. This way, a call to logger.exception() will
write the stack trace to the handlers with this flag set, and only print
the message and other info to handlers without the flag set. This allows a
single logger to write to a less detailed console output, a less detailed
run log, and a more detailed error log.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to