On Fri, 19 Mar 2010, Tomasz Chmielewski wrote:

> Am 19.03.2010 01:08, [email protected] wrote:
>
>>> where postgres[number] can differ.
>> 
>> hmm, in these cases postgres should be what's in programname
>> 
>> taking a different slant, IIRC you used local0.* to capture the postgres
>> logs into one file, if in the line after that you do
>> 
>> local0.* ~
>> 
>> that should eliminate those logs from going into any files after that.
>
> This one works, but that'll filter out heartbeat, pgpool and others useful, 
> which get to syslog.

I will point out that those entries are getting put into your 
posgresql_log file along with the postgres logs then.

so you may want to change the filter for that line as well (now that I dug 
up the page with the correct syntax rather than going from memory)

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to