summaryrefslogtreecommitdiffstats
path: root/etc/syslog.conf
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-02-08 21:57:28 +0000
committerrwatson <rwatson@FreeBSD.org>2000-02-08 21:57:28 +0000
commit6b5dfacc052d3b56fe236cf30f56bc9d5982f283 (patch)
tree2b11d6de45b9d6f5673354d71b6242e068cdc495 /etc/syslog.conf
parent3c20573ee30a9b7aca921c92838679e927c4df9d (diff)
downloadFreeBSD-src-6b5dfacc052d3b56fe236cf30f56bc9d5982f283.zip
FreeBSD-src-6b5dfacc052d3b56fe236cf30f56bc9d5982f283.tar.gz
Add two commented out syslog.conf entries, one to demonstrate the use of
an all.log for logging all messages, and one to demonstrate use of loghosts. Also, a matching entry in newsyslog.conf for all.log. Per request of Garrett Wollman, also modified the maillog entry to use the @T newsyslog time specification mechanism. Because newsyslog doesn't support the mod date specification machanism, couldn't change other entries that required more than one execution a month, but less than once a day. Approved by: jkh Reviewed by: freebsd-security
Diffstat (limited to 'etc/syslog.conf')
-rw-r--r--etc/syslog.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf
index a61df5c..54a2876 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -12,6 +12,10 @@ cron.* /var/log/cron
*.notice;news.err root
*.alert root
*.emerg *
+# uncomment this to enable logging of all log messages to /var/log/all.log
+#*.* /var/log/all.log
+# uncomment this to enable logging to a remote loghost named loghost
+#*.* @loghost
# uncomment these if you're running inn
# news.crit /var/log/news/news.crit
# news.err /var/log/news/news.err
OpenPOWER on IntegriCloud