Author: Wolfram A. Kraushaar
This is a short explanation (summary of a 10/2004 dbmail-dev-thread) of the different TRACE_LEVELs in the configuration file (usually /etc/dbmail.conf).
In DBMail all log messages are logged via syslog; You can set the verbosity of the logging output for each component independently in the corresponding section of the configuration file.
The TRACE_LEVELs in DBMail are defined as enumeration in the file debug.h as follows
typedef enum {
TRACE_FATAL = -1,
TRACE_STOP,
TRACE_MESSAGE,
TRACE_ERROR,
TRACE_WARNING,
TRACE_INFO,
TRACE_DEBUG
} trace_t;
According to this typedef a short explanation of the TRACE_LEVEL follows:
If you stumble across decreased performance upon verbose logging on Linux, make sure your syslog is set to asynchronous IO for the mail.* facility in syslog.conf. If unsure about asynchronous logging have a look at the Postfix-Linux Readme at http://www.postfix.org/LINUX_README.html . Summary: prepend a - to the logfile i.e. in syslog.conf:
mail.* -/var/log/maillog
In case you want to get logging as well into the database check if the syslog substitute msyslog fits your needs.