From owner-freebsd-questions Wed Oct 17 8:23:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from berbee.com (berbee.com [205.173.176.16]) by hub.freebsd.org (Postfix) with ESMTP id 2423537B407 for ; Wed, 17 Oct 2001 08:23:23 -0700 (PDT) Received: from there (cl3079007-a.mdsn1.wi.home.com [65.3.254.217]) by berbee.com (8.11.2/8.11.2) with SMTP id f9HFNM011037 for ; Wed, 17 Oct 2001 10:23:22 -0500 Message-Id: <200110171523.f9HFNM011037@berbee.com> Content-Type: text/plain; charset="iso-8859-1" From: Rob Zietlow To: "FreeBSD" Subject: Re: ftpd logging Date: Wed, 17 Oct 2001 10:23:00 -0500 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 I did what this said with the logging, and it's logging alright but I don't have it logging down to the command level. I have exactly how you guys have to set it up. I have killed the PID's on syslog and inetd, I have touched /var/log/ftpd and it logs, it just doesn't log down to the command level I'm on 4.4 did they change anything? On Wednesday 10 October 2001 05:38 pm, Scott Gerhardt wrote: > Thanks Annelise! > > Putting the following into the syslog.conf worked: > > !ftpd > *.* > > The "ftp.*" as indicateded in the documentation does NOT work. > > > Note: > The two -l's, i.e., ftpd -l -l in inetd.conf add more detail to the log > (right down to the file and command level). > > One "-l" just shows the basic login details. > > Regards, > > - Scott > > > -----Original Message----- > > From: Annelise Anderson [mailto:andrsn@andrsn.stanford.edu] > > Sent: October 10, 2001 4:01 PM > > To: Scott Gerhardt > > Cc: FreeBSD > > Subject: Re: ftpd logging > > > > On Wed, 10 Oct 2001, Scott Gerhardt wrote: > > > I can't seem to get ftpd to log transfers. > > > Ftpd works fine for th ftpchroot'd users I have set up but > > > > would like to add > > > > > logging. > > > > > > > > > Here's what I have done so far: > > > > > > 1.) > > > Added the following line to syslog.conf > > > ftp.* /var/log/ftpd > > > > Here's what I have in syslog.conf: > > > > !ftpd > > *.* /var/log/ftpd.log > > > > > 2.) > > > Checked that the "-l" switch is on for ftpd in indetd.conf > > > ftp stream tcp nowait root /usr/libexec/ftpd > > > > ftpd -l > > > > What you want are two -l's, i.e., ftpd -l -l > > > > > 3.) > > > "touched" /var/log/ftpd > > > > > > 4.) > > > Restarted syslogd and inetd just to be sure changes are read. > > > kill -HUP 'cat /var/run/syslog.pid' > > > kill -HUP 'cat /var/run/inetd.pid' > > > > > > I did all this and still nothing gets logged to /var/log/ftpd > > > > > > Did I miss something? > > > > Annelise > > -- > > Annelise Anderson > > Author of: FreeBSD: An Open-Source Operating > > System for Your PC > > Available from: mall.daemonnews.org and amazon.com > > Book Website: http://www.bittreepress.com/FreeBSD/introbook/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message