Logging in managesieve
managesieve follows the Logging for a Library guidelines.
The logger is named managesieve
.
The modules defines the following debug logging levels:
Level |
When it’s used |
---|---|
|
Confirmation that things are working as expected |
|
Commands and responses |
|
Data send and read (except long literals) |
|
More details |
|
All debug messages (pattern matching, etc.) |
logging.DEBUG
corresponds to managesieve.DEBUG1
,
thus application loggers with level set to DEBUG get a reasonable
level of details for debugging communication.