Hello all,
Recently I,ve activated the Samba vfs audit module on my CentOS server.
Then, I configured syslog to save the events, how open files, create directories.. in /var/log/samba/audit.log, but the same information are being stored in /var/log/messages too..
How I can configure Syslog to store this informations only in messages log file?
Bellow, a part of my syslog.conf
user.*;user.!warn /var/log/samba/audit.log
*.info;mail.none;local5.none;authpriv.none;cron.none;auth.!=info /var/log/messages
Thanks,
Am Mi, den 09.11.2005 schrieb Marcelo Renan Becher um 19:51:
Recently I,ve activated the Samba vfs audit module on my CentOS server.
Then, I configured syslog to save the events, how open files, create directories.. in /var/log/samba/audit.log, but the same information are being stored in /var/log/messages too..
How I can configure Syslog to store this informations only in messages log file?
I think your question is, how to avoid logging the evens in the messages syslog file and only to log it into your audit.log.
Bellow, a part of my syslog.conf
user.*;user.!warn /var/log/samba/audit.log
*.info;mail.none;local5.none;authpriv.none;cron.none;auth.!=info /var/log/messages
Add "user.none" to the list of facilities.priorities for the /var/log/messages target.
Alexander
Alexander, you're sure!!
I changed my syslog.conf and now It's all working fine!!
Thanks,
Alexander Dalloz escreveu:
Am Mi, den 09.11.2005 schrieb Marcelo Renan Becher um 19:51:
Recently I,ve activated the Samba vfs audit module on my CentOS server.
Then, I configured syslog to save the events, how open files, create directories.. in /var/log/samba/audit.log, but the same information are being stored in /var/log/messages too..
How I can configure Syslog to store this informations only in messages log file?
I think your question is, how to avoid logging the evens in the messages syslog file and only to log it into your audit.log.
Bellow, a part of my syslog.conf
user.*;user.!warn /var/log/samba/audit.log
*.info;mail.none;local5.none;authpriv.none;cron.none;auth.!=info /var/log/messages
Add "user.none" to the list of facilities.priorities for the /var/log/messages target.
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos