Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 09:11:08 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Johan Kruger <jkruger@oskar.dev.nanoteq.co.za>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Remote syslog with a tag ?
Message-ID:  <20000613091107.A24675@dan.emsphone.com>
In-Reply-To: <XFMail.000613101557.jkruger@oskar.dev.nanoteq.co.za>; from "Johan Kruger" on Tue Jun 13 10:15:58 GMT 2000
References:  <XFMail.000613101557.jkruger@oskar.dev.nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 13), Johan Kruger said:
> Morning ... has broken ...
> 
> Is it possible to tel machine B to remote log to machine A with all
> the logs coming from B specified with a tag. I want the normal
> messsages on B to be remotely logged to A (no problem) but on A all
> B's logs must have a specific tag ?? Can i start the syslogd on B in
> such a way that all the logs are made with a tag ???

The word immediately after the timestamp in any syslog file is the
hostname of the machine sending the alert.  For example, these lines
came from some networked printers at work:

Jun  9 10:34:46 hp8100mp1 printer: paper jam
Jun  9 10:35:12 hp8100mp1 printer: error cleared
Jun 13 08:14:43 hp4000sa printer: paper out
Jun 13 08:14:43 hp4000sa printer: error cleared

so, they are already tagged.

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000613091107.A24675>