[PATCH] added comments to logging config files

[email protected] (Matt Simerson)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
---
 config.sample/logging  |   22 ++++++++++++++++++++++
 config.sample/loglevel |    2 ++
 2 files changed, 24 insertions(+)

diff --git a/config.sample/logging b/config.sample/logging
index b2d22fa..a870643 100644
--- a/config.sample/logging
+++ b/config.sample/logging
@@ -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
diff --git a/config.sample/loglevel b/config.sample/loglevel
index d495f51..e067bbd 100644
--- a/config.sample/loglevel
+++ b/config.sample/loglevel
@@ -7,4 +7,6 @@
 # LOGCRIT    = 2
 # LOGALERT   = 1
 # LOGEMERG   = 0
+#
+# This setting controls the built-in qpsmtpd logging.
 4
-- 
1.7.9.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.