*BSD News Article 28103


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!wupost!bcm!convex!convex!news.oc.com!news.unt.edu!ponder.csci.unt.edu!jackson
From: jackson@ponder.csci.unt.edu (Bruce Jackson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FTP logging
Date: 10 Mar 1994 01:31:16 GMT
Organization: University of North Texas, Denton
Lines: 26
Message-ID: <2llt94$l8r@hermes.unt.edu>
References: <2lkua4$6j2@hermes.unt.edu>
NNTP-Posting-Host: ponder.csci.unt.edu

In article <2lkua4$6j2@hermes.unt.edu>,
Darren Loher <darren@ocf.nms.unt.edu> wrote:

>I am having problems getting FTP logging running under FreeBSD v1.02

>and here's what my syslog.conf file looks like:

>ftp.*						/var/log/ftplog

>Anyone see anything obviously wrong?  Thanks for looking!

Hi Darren,

This one stumped me at first also.  If you check out the syslog.conf
man page or /usr/include/syslog.h there is no facilityname "ftp"
I ended up looking in the ftpd source to find out that ftpd uses
the facilityname "daemon" for its logging.  Make the line like:

>daemon.*					/var/log/ftplog

and it should work fine.  No other daemons seem to use this so you
should just get ftp logging.
-- 
 Bruce Jackson         | Univ. of North Texas   | jackson@cs.unt.edu
 UNIX Systems Admin.   | P. O. Box 13886        | GAB 550E (817)565-2279
 Dept. of Computer Sci.| Denton, Tx. 76203-3886 | FAX: (817)565-2799