Skip to content

Instantly share code, notes, and snippets.

@dasibre
Created March 5, 2014 17:15
Show Gist options
  • Save dasibre/9371694 to your computer and use it in GitHub Desktop.
Save dasibre/9371694 to your computer and use it in GitHub Desktop.
Rsyslog Configuration sample file
######################
MODULES
######################
$ModLoad imuxsock
$ModLoad imklog
######################
Directives
######################
# Set the default permissions for all log files.
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
######################
RULES
######################
mail.info /var/log/mail.info
mail.warn /var/log/mail.warn
mail.err /var/log/mail.err
daemon.* /var/log/daemon.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment