Loguru is a Python library designed to simplify logging for developers. It offers easy setup with no configuration, support for multiple sinks (console, file, etc.), structured logging, formatting, rotation, and exception handling—all in an intuitive API.
Easier logging and tracing of Python functions and class methods.
Autologging eliminates boilerplate logging setup code and tracing code, and provides a means to separate application logging from program flow and data tracing.
Autologging provides two decorators and a custom log level:
"autologging.logged" decorates a class to create a __log member. By default, the logger is named for the class's containing module and name (e.g. "my.module.ClassName").
This tool is generating a logfile from notifies that amavis sends, so that statistics can be generated. Another advantage of this type of logging is that i can create a central log in a multi-server setup. amavis, amavisd and amavisd-new are supported.