Date: Thu, 16 Jan 2003 11:44:42 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: how do i log another device to syslog? Message-ID: <20030116104442.GB39407@pcwin002.win.tue.nl> In-Reply-To: <20030115235501.20163.qmail@web20103.mail.yahoo.com> References: <20030115130710.GB33155@pcwin002.win.tue.nl> <20030115235501.20163.qmail@web20103.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--+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 <stijn@win.tue.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030116104442.GB39407>