From owner-freebsd-questions Mon Jun 22 10:43:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12203 for freebsd-questions-outgoing; Mon, 22 Jun 1998 10:43:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12113 for ; Mon, 22 Jun 1998 10:42:29 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id MAA08535; Mon, 22 Jun 1998 12:42:12 -0500 (CDT) Date: Mon, 22 Jun 1998 12:42:11 -0500 (CDT) From: Jeremy Shaffner To: Brendan Kosowski cc: questions@FreeBSD.ORG Subject: Re: Syslog Question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21 Jun 1998, Brendan Kosowski wrote: > > I was a Linux user but have now changed to FreeBSD. I noticed that with > Linux, any TELNET or FTP activity was logged to /var/log/messages. > > I noticed that FreeBSD does not log TELNET or FTP activity to > /var/log/messages. > > My syslog.conf is very simple : > > *.info /var/log/messages > > > This worked fine on Linux. > > `man ftpd` and `man syslog.conf` In inetd.conf the ftpd line should have the following switches: -l -l -S (The first -l logs anonymous connections, the second -l logs transfers, and -S logs everything.) in syslog.conf: #!ftpd *.* /var/log/ftpd You'll need to touch /var/log/ftpd into existance if it doesn't already exist. You can of course have log to messages instead... Not sure about telnet... -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message