0

I have a CentOS server that I would like to be able to track more FTP information, to know the IP/Geolocation/Files Edited, for the last 20 connections. We have cpanel running, also. What can I do to enable advanced FTP logging?

1
  • Do you already have an ftp daemon running? Which one?
    – Zoredache
    Sep 26, 2011 at 22:33

1 Answer 1

1

You would be probably running pure-ftpd (default for cPanel). In this case, you can enable verbose logging for FTP by setting "VerboseLog yes" in /etc/pure-ftpd.conf . There is also the "AltLog" directive, which you may need to uncomment and enable. There are 3 formats supported, which are xferlog, stats & w3c of which you can choose a suitable on.

2
  • Where do the logs end up?
    – lanemiller
    Sep 27, 2011 at 20:08
  • You define the log path in "AltLog" directive itself along with the preferred format.
    – SparX
    Sep 27, 2011 at 20:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .