LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Rsyslog config help (https://www.linuxquestions.org/questions/linux-newbie-8/rsyslog-config-help-4175624989/)

Infam 03-05-2018 12:23 PM

Rsyslog config help
 
Hello, so I have to create a new file "auth-errors.conf" in the rsyslog config files directory, with the rule of facility:authpriv, severity: alert, and write to /var/log/auth-errors . So I know that I need to use the authpriv.alert pair ( I think ), but my confusion is how would I go about this? Config the actual rsyslog config file or create the file and write the rule.. Sorry for the stupid question! Thanks in advance for any help

AwesomeMachine 03-06-2018 01:05 AM

You create the new file, put in it the new rule, and save it to the directory, /etc/rsyslog.d


All times are GMT -5. The time now is 07:18 AM.