Created
November 12, 2015 02:06
-
-
Save yegorg/929eeac4346bd3557dab to your computer and use it in GitHub Desktop.
enable remote logging / server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$modload imtcp | |
$InputTCPServerRun 10514 | |
# $ActionQueueType LinkedList # use asynchronous processing | |
# $ActionQueueFileName srvrfwd # set file name, also enables disk mode | |
# $ActionResumeRetryCount -1 # infinite retries on insert failure | |
# $ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down | |
# *.notice @@logserver.local:10514 | |
auth,authpriv.* -/var/log/auth.log | |
kern.notice -/var/log/kern.log | |
mail.* -/var/log/mail.log | |
*.=debug;\ | |
auth,authpriv.none;\ | |
news.none;mail.none -/var/log/debug | |
*.=info;*.=notice;*.=warn;\ | |
cron,daemon.none;\ | |
mail,news.none -/var/log/messages | |
*.notice -/var/log/syslog | |
*.emerg :omusrmsg:* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment