[rsyslog] log *.*, except logs by "postgres"
Tomasz Chmielewski
mangoo at wpkg.org
Fri Mar 19 01:42:29 CET 2010
Am 19.03.2010 01:08, david at lang.hm 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.
--
Tomasz Chmielewski
http://wpkg.org
More information about the rsyslog
mailing list