From owner-freebsd-hackers Tue Jun 13 9:13:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id EB08137BB21; Tue, 13 Jun 2000 09:13:05 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Date: Tue, 13 Jun 2000 17:12:41 +0100 From: David Malone To: Dan Nelson Cc: Johan Kruger , freebsd-hackers@FreeBSD.ORG, FreeBSD-Questions Subject: Re: Remote syslog with a tag ? Message-ID: <20000613171241.A54763@salmon.maths.tcd.ie> References: <20000613091107.A24675@dan.emsphone.com> <20000613110727.A22848@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000613110727.A22848@dan.emsphone.com>; from dnelson@emsphone.com on Tue, Jun 13, 2000 at 11:07:27AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 13, 2000 at 11:07:27AM -0500, Dan Nelson wrote: > In the last episode (Jun 13), Johan Kruger said: > > > > The man page says " ... and the first word in the message after the > > date matches the program, the action specified in the action > > field will be taken ..." > > Now the program should the be !4.5.6.1 or one of the ones i previously > > mentioned. > > That documentation is misleading, then. The hostname is definitely not > looked at. See syslogd.c, the logmsg() function. I've often thought it would be nice to be able to get syslogd to make choices based on hostname. I'm sure a patch would be easy enough to produce, but the trick would be to produce a good syntax fox syslog.conf. Are there any syslogds that can do this? What syntax do they use? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message