Automatic Python logging

So if something shows up in my logs, and I did not make that request, it is buried somewhere in library code. Or, to put it another way, there is no such thing as ‘automatic’ logging. Somehow, somewhere, a log request has to be made by a human. Correct?

Correct.

Somewhere a Python package that you’ve imported (note: might be a nested dependency rather than direct import) has not followed the practice of using NullHandler and instead decided to configure its own logger to emit something to stdout without you asking it to.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top