From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 20:13:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A0F3016A420 for ; Wed, 15 Feb 2006 20:13:54 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D685B43D46 for ; Wed, 15 Feb 2006 20:13:53 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: by uproxy.gmail.com with SMTP id e2so15810ugf for ; Wed, 15 Feb 2006 12:13:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mJtjJKqyI/GZkatfhLSQ6rE9wnhGvA31p89X5hmsoST270yY/NCYjPE3fckLh28aMPfV41Ml7Ezu+3+teCXhLbc6i2dDsP1L7WGkX1VNYUhIC+VFSngfVhvrm6iNWSglu8iDOsEueHREUpLg/YAayd0VDwnUzEUEpev+ms+2TSA= Received: by 10.49.63.8 with SMTP id q8mr31189nfk; Wed, 15 Feb 2006 12:13:52 -0800 (PST) Received: by 10.49.9.1 with HTTP; Wed, 15 Feb 2006 12:13:52 -0800 (PST) Message-ID: Date: Wed, 15 Feb 2006 14:13:52 -0600 From: Noel Jones To: freebsd-questions@freebsd.org In-Reply-To: <43F32271.2010803@pean.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43F32271.2010803@pean.org> Subject: Re: Syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 20:13:54 -0000 On 2/15/06, Peter Ankerst=E5l wrote: > Hello, > > I'm trying to get syslog to log on a remote host. This part is really > not a problem, but when I try to define at the "loghost" to which files > i want to log my incoming logs I don't get anything to work. I cant find > anything in the manual either. > > I've tried this: > +sphere > *.* /var/log/sphere/messages > Read the syslog.conf and syslogd man pages carefully, they contain all the info you need. You probably need to adjust the syslogd entry in /etc/rc.conf to remove the -s option, and add -a RemoteIP. Then stop and restart syslogd before continuing your test. You also likely need to clear the "program specification" in syslog.conf by using: !* +sphere *.* /var/log/sphere/messages -- Noel Jones