...
Code Block | ||
---|---|---|
| ||
local2.* /usr/local/nmis8/logs/snmptrap.log |
Most likely we will not want these messages to also go to /var/log/messages. We can edit /etc/rsyslog.conf to prevent this from happening. An example for facility local2 follows; notice the 'local2.none' statement.
Code Block | ||
---|---|---|
| ||
*.info;mail.none;authpriv.none;cron.none;local2.none /var/log/messages |