[Python-ideas] Is this PEP viable?
brett at python.org
Mon Jul 17 16:50:27 EDT 2017
This doesn't require a PEP as it falls under "adding" to a pre-existing
On Sun, 16 Jul 2017 at 22:06 Evan Adler <evanbenadler at gmail.com> wrote:
> 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.
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas