From owner-freebsd-questions Sun Mar 2 8:41:32 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 0331137B401 for ; Sun, 2 Mar 2003 08:41:31 -0800 (PST) Received: from astarte.volker.de (p508937BD.dip.t-dialin.net [80.137.55.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0029143F93 for ; Sun, 2 Mar 2003 08:41:28 -0800 (PST) (envelope-from freebsd@secspace.de) Received: from astarte.volker.de (localhost [127.0.0.1]) by astarte.volker.de (8.12.7/8.12.7) with SMTP id h22GfQe0031402 for ; Sun, 2 Mar 2003 17:41:27 +0100 (CET) (envelope-from freebsd@secspace.de) Date: Sun, 2 Mar 2003 17:41:26 +0100 From: Volker Kindermann To: freebsd-questions@freebsd.org Subject: Re: Best way to log from several servers Message-Id: <20030302174126.39a48dab.freebsd@secspace.de> In-Reply-To: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> References: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi Thomas, > 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 ? yes of course: set up a central syslog server. As others mentioned before, the default syslog is not the first choice if you have two aspects to be important: - encryption - reliability Both items are solved, if you use syslog-ng. It works with tcp instead of udp (reliability) and you can tunnel it over ssl or so if you need encryption. Google for "syslog-ng central log server" and you should find some interesting reading. hth -volker To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message