Éric Araujo added the comment:
I believe the OP’s request is partly motivated by the fact that there is a need
to access a private function in warnings. See
http://mail.python.org/pipermail/python-ideas/2010-February/006870.html where
Nick Coghlan proposes that “the idea of creating a public
R. David Murray added the comment:
I believe the ability to log warning messages was added recently, but that it
does not give you an control over what warnings are *generated*, just what
happens to them (that is, allowing you to log them).
On the other hand, what is the motivation for wantin
Éric Araujo added the comment:
Hello
Here’s another idea.
I seem to remember Python warnings can be turned into logging events. If these
big apps and frameworks (that already use logging) turned warnings into logging
calls, standard logging configuration mecanisms could be used to achieve yo