[KLUG Members] ProFTPD logging

Benjamin Stuart members@kalamazoolinux.org
Thu, 09 Jan 2003 11:21:26 -0500


The majority of the users (those that do not have their own domain) will be ftp'ing to ftp.xxxxx.net.  So what I really need is somewhat of a "dynamic" solution.  I don't really have any desire to create seperate TransferLog directives for thousands of users :)

So, yes, specifying the absolute path will work, but it is not really what I'm looking for at this point. 

Of course it may turn out that is my only solution...

-----Original Message-----
From: Daniel <drk@netophilia.net>
To: members@kalamazoolinux.org
Date: Thu, 9 Jan 2003 11:06:26 -0500 
Subject: Re: [KLUG Members] ProFTPD logging

Any reason you cannot specify the absolute path?

ie: TransferLog /usr/local/apache/domlogs/ftp.kilbournes.com-ftp_log

that works for me.....


Benjamin Stuart extolled:
> Hello-
> 
> First off, thanks to those of you who pointed me in the direction of ProFTPD a few weeks back.  It has turned out to be exactly what I was looking for in an FTP server.
> 
> My configuration file is nearly complete (along with the virtual user authentication), however I am having some issues setting up the TransferLog directive.  My hope was to have logs created for each individual user for their activity, and stick these logs in ~/logs (along with Apache logs, etc).
> 
> As far as I can tell, most ProFTPD directives allow the use of "~" to indicate the user's home directory.  For instance, when a user logs in ProFTPD chroots them to "~", etc.  So to accomplish my goal for seperate, per-user, logs I am using the following directive in proftpd.conf:
> 
> TransferLog ~/logs/ftpxfer.log
> 
> This doesn't work.  No ftpxfer.log file is created at all.  I have also tried just "~", which also doesn't work.  Setting it to a standard /var/log/ftpxfer.log, however, DOES work.
> 
> I don't see anything in the ProFTPD docs (http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_TransferLog.html) to indicate this shouldn't work.  What am I missing?  Or is this just one of those "not possible" things?  Thanks,
> 
> Ben
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 

-- 
---
Dan
_______________________________________________
Members mailing list
Members@kalamazoolinux.org