On 8 Jan, 09:46, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
> One question : why does the exception() method call Logger.error() rather than
> Logger.exception() ?
exception() is a convenience method which adds the keyword argument
exc_info=1 to append traceback information to the log. Both
excepti
Hi Vinay,
> I would welcome your views on whether the LoggerAdapter class is
> suitable for adding to the logging package in Python 2.6/3.0. Does it
> do what might reasonably be expected out of the box?
I think it's quite suited to the problem, yes.
One question : why does the exception() meth
Some users of the logging package have raised an issue regarding the
difficulty of passing additional contextual information when logging.
For example, the developer of a networked application may want to log,
in addition to specifics related to to the network service being
provided, information ab