The basics of the logging module mystify me

Paul Moore p.f.moore at gmail.com
Thu Apr 19 04:19:42 EDT 2018


On 19 April 2018 at 02:00, Skip Montanaro <skip.montanaro at gmail.com> wrote:
> I really don't like the logging module, but it looks like I'm stuck
> with it. Why aren't simple/obvious things either simple or obvious?

If you can use non-stdlib things there are alternatives. I've heard
good things about logbok (https://logbook.readthedocs.io/en/stable/)
although I will say I've never tried it myself. I do agree that the
stdlib logging module, while technically powerful, is frustratingly
clumsy to use in all of the relatively simple situations I've felt it
might be helpful to me :-(

Paul



More information about the Python-list mailing list