syslog Problem

Florian Lohoff flo at rfc822.org
Wed Oct 11 12:39:14 CEST 2000


On Wed, Oct 11, 2000 at 12:25:50PM +0200, Volker Gueth wrote:
> Hi,
> 
> gibt es im Syslog eine Möglichkeit bestimmte facilities auszunehmen.
> Ich möchte alles bis auf cron loggen. Bei der priority kann man 
> sagen !xxx aber bei der facility hab ich es nicht hingekriegt.

Als einzigen eintrag in der syslog.conf

local4.debug /tmp/dummyfile

Und ansonsten nix - Wobei cron keine eigene facility ist afaik und daher
im "normalen" syslogd nicht filterbar.

Guck dir mal den "syslog-ng" an - Da kann man afaik auch via regexp
filtern ... 

apt-get install syslog-ng

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5201-669912
      "Write only memory - Oops. Time for my medication again ..."





More information about the Linux mailing list