I have the following setup in the rsyslog.d directory.
#
local0.* -/var/log/postgresql/postgresql-8.4-main.log
#
# add local0 to the ignore field for the normal messages so it wont'
get logged twice.
#
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none;\
local0.none -/var/log/messages
The problem is that postgres is now logging to /var/log/postgres...
and /var/log/messages and /var/log/syslog.
What do I have to do in order to exclude the postgres logs from
messages and syslog?
Thanks.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com