Skip to content

Commit

Permalink
added comments to logging config files
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson authored and rspier committed Apr 29, 2012
1 parent 5dfc90a commit 91d3f2a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config.sample/logging
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# by default, qpsmtpd logs to STDERR at the level set in config/loglevel.
#
# In addition, qpsmtpd will log through any plugins enabled in this file.
# You can enable as many plugins as you wish. Example plugin invocations
# are included below. Just remove the # symbol to enable them.

# default logging plugin
logging/warn 9

#logging/adaptive [accept minlevel] [reject maxlevel] [prefix char]
#logging/adaptive 4 6

# send logs to apache (useful if running qpsmtpd under apache)
#logging/apache

# send logs to the great bit bucket
#logging/devnull

# log to a file
#logging/file loglevel LOGINFO /var/log/qpsmtpd.log

# log to syslog
#logging/syslog loglevel LOGWARN priority LOG_NOTICE
2 changes: 2 additions & 0 deletions config.sample/loglevel
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
# LOGCRIT = 2
# LOGALERT = 1
# LOGEMERG = 0
#
# This setting controls the built-in qpsmtpd logging.
4

0 comments on commit 91d3f2a

Please sign in to comment.