Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 15:01:08 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Scott Gerhardt <scott@gerhardt-it.com>
Cc:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ftpd logging
Message-ID:  <Pine.BSF.4.10.10110101458010.13002-100000@andrsn.stanford.edu>
In-Reply-To: <KPEMLBLEMPMHGLJOCDEGAEIDCJAA.scott@gerhardt-it.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10110101458010.13002-100000>