[Python-ideas] Logging Levels
Mario Corchero
mariocj89 at gmail.com
Tue Nov 28 15:02:30 EST 2017
Yep, I personally prefer fatal so I'd be totally in for it. But as you said
I can see an issue on the tools that work around the logs produced (typical
alerting/monitoring around an app) and all the logs parsing stacks.
On 28 November 2017 at 19:59, Guido van Rossum <guido at python.org> wrote:
> On Tue, Nov 28, 2017 at 11:56 AM, Mike Miller <python-ideas at mgmiller.net>
> wrote:
>
>> Yes, I remember now. However, it still outputs with the level name of
>> critical:
>>
>> >>> logging.fatal('hello')
>>
>> CRITICAL:root:hello
>>
>
> Ah, that makes it slightly more complicated -- changing that to print
> FATAL is surely going to break some people's log parsers. :-(
>
> --
> --Guido van Rossum (python.org/~guido)
>
> _______________________________________________
> 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/20171128/2207e07b/attachment.html>
More information about the Python-ideas
mailing list