Rsyslog: Difference between revisions

268 bytes removed ,  6 years ago
Line 51:
$ActionQueueType LinkedList
$ActionResumeRetryCount -1
 
 
*Separate logs for each Host, for each date, Configure like follows.
sudo nano /etc/rsyslog.d/50-default.conf
{{notice|This section needs to be verified.}}
$template Auth_log,"/var/log/auth.d/%fromhost%_%$year%%$month%%$day%.auth"
auth,authpriv.* -?Auth_log
 
 
*Restart rsyslog service