Reputation: 12903
I'm having trouble finding an authoritative reference which describes correct usage for each of the five logging levels in Python (DEBUG
, INFO
, WARNING
, ERROR
, CRITICAL
). The docs are not specifying it:
Also found a few blogs with some personal opinions, but nothing "official" that could for example serve to settle a difference of opinions.
Is there such a reference out there?
Upvotes: 2
Views: 57
Reputation: 149145
Those level are not specific to Python logging but are common to most logging system and originate from Unix syslog. They can be adjusted per application or system, but the common usage is:
Upvotes: 0
Reputation: 99495
The docs do specify this information. See here. Be sure to read the whole of the section.
Upvotes: 2