From owner-freebsd-questions Tue Jun 13 7:14:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id EC30037BC56; Tue, 13 Jun 2000 07:14:47 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA25699; Tue, 13 Jun 2000 09:11:08 -0500 (CDT) (envelope-from dan) Date: Tue, 13 Jun 2000 09:11:08 -0500 From: Dan Nelson To: Johan Kruger Cc: FreeBSD-Questions , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote syslog with a tag ? Message-ID: <20000613091107.A24675@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: ; from "Johan Kruger" on Tue Jun 13 10:15:58 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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