From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:26:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B29516A4CE for ; Fri, 14 Jan 2005 15:26:51 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B805343D4C for ; Fri, 14 Jan 2005 15:26:50 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j0EFQj7G093975; Fri, 14 Jan 2005 09:26:45 -0600 (CST) (envelope-from dan) Date: Fri, 14 Jan 2005 09:26:44 -0600 From: Dan Nelson To: Ricardo Pichler Message-ID: <20050114152644.GA73493@dan.emsphone.com> References: <013701c4fa3d$aa85c8e0$8b0aa8c0@pichler> <018601c4fa42$cf58def0$8b0aa8c0@pichler> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018601c4fa42$cf58def0$8b0aa8c0@pichler> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Syslog server. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 15:26:51 -0000 In the last episode (Jan 14), Ricardo Pichler said: > > I've an slackware box that your main function is be a syslog > > server! Ok, it work, but I need to separate the log for each box > > that I've in files with the same name of box. Can anybody help me? > > > > e.g.: an entry in my /var/log/messages: > > Jan 13 18:11:49 ns500 ns500-sjc: NetScreen device_id=ns500-sjc [Root]system-notification-00018: Policy ...... > > Sorry, my box is a FreeBSD 5.2.1. You can use hostname specifications to filter by dns name or IP: +ns500 *.* /var/log/machine/ns500 You will need one of these blocks per machine, though. -- Dan Nelson dnelson@allantgroup.com