| 1 |
# Qpsmtpd logging plugin configuration |
| 2 |
# |
| 3 |
# This file has the same format as the main qpsmtpd plugins configuration |
| 4 |
# (/etc/qpsmtpd/plugins), but is used exclusively to specify plugins used for |
| 5 |
# logging (they must be configured separately, being initialized at a |
| 6 |
# different time and used to indicate errors with all other plugins loaded |
| 7 |
# afterward.) |
| 8 |
|
| 9 |
# The file logging plugin logs to /var/log/qpsmtpd: |
| 10 |
logging/file loglevel LOGINFO /var/log/qpsmtpd/qpsmtpd.log |
| 11 |
|
| 12 |
# The syslog logging plugin logs to the syslog facility: |
| 13 |
# |
| 14 |
# logging/syslog loglevel LOGINFO |
| 15 |
|
| 16 |
# The 'warn' plugin logs to STDERR via perl's warn(): |
| 17 |
# |
| 18 |
# logging/warn LOGINFO |
| 19 |
|
| 20 |
# The 'adaptive' plugin logs to STDERR via warn(), but does so according to |
| 21 |
# different severity thresholds when a message is accepted or rejected |
| 22 |
# |
| 23 |
# logging/adaptive accept LOGINFO reject LOGWARN |