mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
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
This commit is contained in:
parent
249a96889e
commit
13c032fd0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57065
@ -6,9 +6,10 @@
|
||||
/var/log/amd.log 664 7 100 * Z
|
||||
/var/log/kerberos.log 664 7 100 * Z
|
||||
/var/log/lpd-errs 664 7 100 * Z
|
||||
/var/log/maillog 664 7 * 24 Z
|
||||
/var/log/maillog 664 7 * @T00 Z
|
||||
/var/log/sendmail.st 664 10 * 168 B
|
||||
/var/log/messages 664 5 100 * Z
|
||||
/var/log/all.log 600 7 * @T00 Z
|
||||
/var/log/slip.log 600 3 100 * Z
|
||||
/var/log/ppp.log 600 3 100 * Z
|
||||
/var/log/security 600 10 100 * Z
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user