Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 22:40:01 +0200
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Dan Nelson <dnelson@emsphone.com>, Johan Kruger <jkruger@oskar.dev.nanoteq.co.za>, freebsd-hackers@FreeBSD.ORG, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Remote syslog with a tag ?
Message-ID:  <20000613224001.A1980@cicely8.cicely.de>
In-Reply-To: <20000613171241.A54763@salmon.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Tue, Jun 13, 2000 at 05:12:41PM %2B0100
References:  <20000613091107.A24675@dan.emsphone.com> <XFMail.000613165343.jkruger@oskar.dev.nanoteq.co.za> <20000613110727.A22848@dan.emsphone.com> <20000613171241.A54763@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 13, 2000 at 05:12:41PM +0100, David Malone wrote:
> 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.

! is for programmnames and not hostnames.
And I asume they work only localy.

> 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?

I have a patched version to do this.
If anyone is interessted I'm producing diffs.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de



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?20000613224001.A1980>