From owner-freebsd-questions Fri Feb 28 4:44:41 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 AA63E37B401 for ; Fri, 28 Feb 2003 04:44:39 -0800 (PST) Received: from mx1.vermoe.dk (mx3.w4b.dk [130.227.212.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id A147C43F75 for ; Fri, 28 Feb 2003 04:44:38 -0800 (PST) (envelope-from t@garbage.dk) Received: from garbage.dk ([130.227.212.254]) (AUTH: LOGIN t@garbage.dk) by mx1.vermoe.dk with esmtp; Fri, 28 Feb 2003 13:44:39 +0100 Date: Fri, 28 Feb 2003 13:44:43 +0100 Subject: Re: Best way to log from several servers Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: freebsd-questions@FreeBSD.ORG To: Rus Foster From: Thomas von Hassel In-Reply-To: <20030228043019.B28325@thor.65535.net> Message-Id: <69498004-4B1A-11D7-9EAA-003065B0995C@garbage.dk> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) 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 Friday, February 28, 2003, at 01:32 PM, Rus Foster wrote: > 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 > ok, that would take care of the sending side, what about the receiving side ? /thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message