...
The user running rsyslog, usually syslog, must have permissions over all directories and files that you want to monitor. Here's an example of how you might change the owner:
No Formatcode |
---|
chown :syslog /var/log/apache2 /var/log/apache2/*.log |
...
Close the configuration file, then restart rsyslog.
No Formatcode |
---|
/etc/init.d/rsyslog restart |
...