rsyslog freebsd


制限する

Linuxねた帳: rsyslog $AllowedSenderについて

BSD-Style blocks will go away in rsyslog v7

BSD-Style blocks will go away in rsyslog v7

syslog

grep -v '^\s*#' /etc/syslog.conf

*.err;kern.warning;auth.notice;mail.crit		/dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
security.*					/var/log/security
auth.info;authpriv.info				/var/log/auth.log
mail.info					/var/log/maillog
lpr.info					/var/log/lpd-errs
ftp.info					/var/log/xferlog
cron.*						/var/log/cron
!-devd
*.=debug					/var/log/debug.log
*.emerg						*
!ppp
*.*						/var/log/ppp.log
!*

!* can be used to ensure that any ensuing blocks are further evaluated (i.e. cancelling the effect of a !prog or !!prog).

http://man.openbsd.org/OpenBSD-5.8/syslog.conf.5