[KLUG Members] ProFTPD logging

Benjamin Stuart members@kalamazoolinux.org
Thu, 09 Jan 2003 10:46:48 -0500


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