From owner-freebsd-questions Thu Jan 16 2:44:50 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 8FA8237B401 for ; Thu, 16 Jan 2003 02:44:48 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A518F43F43 for ; Thu, 16 Jan 2003 02:44:47 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.6/8.12.6) with ESMTP id h0GAigJB040241; Thu, 16 Jan 2003 11:44:42 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.6/8.12.6/Submit) id h0GAigk5040240; Thu, 16 Jan 2003 11:44:42 +0100 (CET) Date: Thu, 16 Jan 2003 11:44:42 +0100 From: Stijn Hoop To: Bsd Neophyte Cc: freebsd-questions@freebsd.org Subject: Re: how do i log another device to syslog? Message-ID: <20030116104442.GB39407@pcwin002.win.tue.nl> References: <20030115130710.GB33155@pcwin002.win.tue.nl> <20030115235501.20163.qmail@web20103.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline In-Reply-To: <20030115235501.20163.qmail@web20103.mail.yahoo.com> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! 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 --+g7M9IMkV8truYOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 15, 2003 at 03:55:01PM -0800, Bsd Neophyte wrote: > --- Stijn Hoop wrote: > > syslogd_flags=3D"-a 1.2.3.4/32" in /etc/rc.conf should work according to > > the manpage. > >=20 > > Maybe even syslogd_flags=3D"" is enough, but by default syslogd_flags > > is "-s" which doesn't allow peer logging. > >=20 > > See /etc/defaults/rc.conf and man syslogd. >=20 > i've done this, now what file would the webramp messages log to? also, > how can i have the webramp logs in their own file? See 'man syslog.conf'. You need to edit /etc/syslog.conf to tell syslogd to route all messages from a host to separate files. They will appear in /var/log, just like your 'regular' logs from syslog (ie /var/log/message= s, /var/log/security etc). HTH, --Stijn --=20 The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --+g7M9IMkV8truYOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Jo0aY3r/tLQmfWcRAmkVAJoCtOX/Lm2RrXMN9OSiKvmsd6gEqgCfSq1M vKkrssgbVVqi2L401/+QAT0= =dmGs -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message