From owner-freebsd-questions Thu Jan 16 3: 7: 8 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 4CF4837B401 for ; Thu, 16 Jan 2003 03:07:06 -0800 (PST) Received: from web20102.mail.yahoo.com (web20102.mail.yahoo.com [216.136.226.39]) by mx1.FreeBSD.org (Postfix) with SMTP id E50D843F18 for ; Thu, 16 Jan 2003 03:07:05 -0800 (PST) (envelope-from bsdneophyte@yahoo.com) Message-ID: <20030116110705.76103.qmail@web20102.mail.yahoo.com> Received: from [68.66.233.27] by web20102.mail.yahoo.com via HTTP; Thu, 16 Jan 2003 03:07:05 PST Date: Thu, 16 Jan 2003 03:07:05 -0800 (PST) From: Bsd Neophyte Subject: Re: how do i log another device to syslog? To: Stijn Hoop Cc: freebsd-questions@freebsd.org In-Reply-To: <20030116104442.GB39407@pcwin002.win.tue.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- Stijn Hoop wrote: > 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/messages, > /var/log/security etc). i have, and the explanation is extremely cryptic. i gather that this has something to do with my problem: ------------ A hostname specification of the form `#+hostname' or `+hostname' and the following blocks will be applied to messages received from the specified hostname. Alternatively, a hostname specification `#-hostname' or `-hostname' causes the following blocks to be applied to messages from any host but the one specified. If the hostname is given as `@', the local hostname will be used. A program or hostname specifi- cation may be reset by giving the program or hostname as `*'. ------------ it doesn't make any sense to me, and there are no examples in the man page that are useful to my sittuation. it seems that i'm having other issues as well. this is what i'm now running for syslogd: syslogd -v -a x.x.x.x/11:syslog -a x.x.x.x/24:syslog when i do netstat -a, i see the following for syslogd: ------------ udp4 0 0 *.syslog *.* ------------ it's state is blank. so right now, nothing is happening. i constantly check /var/log/messages to see if anything new appeared from either host, but the box doesn't seem to be logging anything. anyone else wanna help with this one? -Sameer __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message