Am 09.07.2012 19:52, schrieb Wietse Venema:
> Leo Baltus:
>> Hi,
>>
>> I would like postfix to not log to the default syslog-daemon to
>> have better control over where each specific postfix instance logs to. I
>> am running multiple instances on a server.
> 
> Postfix has syslog_facility to split different syslog streams.
> Otherwise propose a new syslog API and get everyone to adopt it

no need :-)

he could simply configure his syslog daemon proper
that is why it exists

rsyslog:

:msg, contains, "whatever" -/var/log/whatever
:msg, contains, "whatever" ~

at the very begin of the rules
____________________

or a sample i am using to have dhcp not in /var/log/messages:

:programname, isequal, "dhcpd"                      -/var/log/dhcpd.log
:programname, isequal, "dhcpd" ~

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to