Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 16:11:38 +0100 
From:      "Waeytens, Filip" <Filip.Waeytens@ebone.com>
To:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   syslog: user defined facilities
Message-ID:  <D52BF6463BA3D311BFA700508B63C5AA042A48E0@brumsgpnt01.gtsgroup.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a problem:

I want to send syslog messages to a remote host, with facility local7.
I want this user-defined facility to hold ALL syslog messages, so in a way
duplicate all my syslog messages to a remote host, but I want to make a rule
in syslog.conf on my remote machine that sends them to a separate file, like
/var/log/remote.log .

locally I set up:

local7.info		@123.123.123.123	(all local7 starting from
info, get send to 123.123.123.123)


on my remote (123.123.123.123):

local7.info		/var/log/remote.log	(everything with facility
local7 goes to this file)


But my problem is: How do I replicate all syslog messages
(DAEMON,KERNEL,....) to local7 ?


Thnks .

Filip

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D52BF6463BA3D311BFA700508B63C5AA042A48E0>