Am 18.03.2010 23:54, [email protected] wrote:

>> Postgres adds such entries through syslog:
>>
>> Mar 19 04:14:16 sun postgres[388]: [261-1] 2010-03-19 04:14:16 SGT LOG:  
>> duration: 0.037 ms  statement: ROLLBACK
> 
> you could add
> 
> :programname, :isequal, "postgres" ~
> 
> ahead of your line to go to /var/log/syslog so that anything with the
> programname of postgres gets dropped first

Meaning, like this:

:programname, :isequal, "postgres" ~ *.*;auth,authpriv.none     -/var/log/syslog

?


-- 
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to