[Python-ideas] Is this PEP viable?
Brett Cannon
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
module: https://devguide.python.org/stdlibchanges/.
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
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170717/c4ee4293/attachment.html>
More information about the Python-ideas
mailing list