From owner-freebsd-questions Fri Feb 28 11:17:40 2003 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 0006C37B642 for ; Fri, 28 Feb 2003 11:15:52 -0800 (PST) Received: from thor.65535.net (thor.65535.net [65.214.160.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D67B442D5 for ; Fri, 28 Feb 2003 10:45:31 -0800 (PST) (envelope-from rghf@fsck.me.uk) Received: from localhost (thor [65.214.160.96]) by thor.65535.net (8.12.6/8.12.6) with ESMTP id h1SCWPuW064413; Fri, 28 Feb 2003 04:32:25 -0800 (PST) (envelope-from rghf@fsck.me.uk) Date: Fri, 28 Feb 2003 04:32:25 -0800 (PST) From: Rus Foster X-X-Sender: rghf@thor.65535.net To: Thomas von Hassel Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best way to log from several servers In-Reply-To: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> Message-ID: <20030228043019.B28325@thor.65535.net> References: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Feb 2003, Thomas von Hassel wrote: > We have a few servers and we are getting tired of having to log into > each of them to check the logfile. (like tail -f /var/somelog) > > Is there a way to log things like /var/log/messages and > /var/log/maillog to one central logging server ? > > /thomas > -- you want to tweak /etc/syslogd.conf. You can log to remote machine using something like *.* @loghost.domain.com You might have to configure the firewall/remote syslog to accept the connections. Also if there is heavy network traffic you can not be guarenteed to get the messages as it uses UDP rather than TCP. My personal advice would be log both locally and remotly Rgds Rus -- http://www.65535.net | MSN: support@65535.net "More bits for your bite" Email - Web Space - Custom Solutions - Shell Accounts Please respect RFC1855 and don't top post To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message