$umask 0000 $CreateDirs on $DirCreateMode 0775 $FileCreateMode 0640 $RepeatedMsgReduction on $EscapeControlCharactersOnReceive off # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages #*.emerg * # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log # host-specific logs for remote hosts $template hostmessages, "/var/log/hosts/%HOSTNAME%/messages/%$NOW%" *.info;mail.none;authpriv.none;cron.none -?hostmessages $template hostsecure, "/var/log/hosts/%HOSTNAME%/secure/%$NOW%" authpriv.* -?hostsecure $template hostmail, "/var/log/hosts/%HOSTNAME%/mail/%$NOW%" mail.* -?hostmail $template hostcron, "/var/log/hosts/%HOSTNAME%/cron/%$NOW%" cron.* ?hostcron $template hostspooler, "/var/log/hosts/%HOSTNAME%/spooler/%$NOW%" uucp,news.crit ?hostspooler $template hostboot, "/var/log/hosts/%HOSTNAME%/boot/%$NOW%" local7.* ?hostboot $template hostkern, "/var/log/hosts/%HOSTNAME%/kernel/%$NOW%" kern.info ?hostkern