I have a VPS with Apache and Pure-FTPD and I'm wondering if it's possible to log every action that an FTP user does (such as viewing files and editing them)? If this is possible, please let me know how I can do this.



VerboseLog yes

in your pureftpd.conf. This logs all actions.

Alternatively you can use the -d or --verboselog commandline options at the startup of pureftpd.

Where these logs go depends on your distribution. This is often /var/log/messages or a separate pureftpd.log.

  • Thank you very much. I tried what you said and it seems to work. Would you happen to know if enabling the VerboseLog takes a performance hit on the server, or if it creates any other problems? Thanks. – Nate Dec 9 '12 at 19:34
  • Besides the amount of writes because of the logs, I would not expect to see any side effects. Because logs are usually buffered writes, I wouldn't expect an impact on performance as well. But it depends on the amount of FTP load you already have. – mgabriel Dec 9 '12 at 19:50
  • This logging is not very verbose, I wanted to see the transfer mode and DNS client used to connect with as well. – radtek May 4 '18 at 1:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.