Skip to main content

Where are the FTP Logs?

Comments

4 comments

  • kwdamp
    I think settings may vary, but on our server the logs are stored in each account. The path would be: /home/myaccount/logs/ And the actual ftp log files are in the folder gzipped as: ftp.myaccountdomain.com-ftp_log-Feb-18 Where myaccount and myaccountdomainname are obviously replaced by your actual account details.
    0
  • cPanelMichael
    Hello, The previous post is correct. Additionally, note the cpanellogd process separates each account's FTP activity into each domain name"s individual FTP log when statistics are processed (every 24 hours by default). If you prefer to preserve the /etc/apache2/logs/domlogs/ftpxferlog file through statistic generations, then you can enable the following option under the "Stats and Logs" tab in "WHM >> Tweak Settings": Keep master FTP log file Thank you.
    0
  • vikelidiskostas
    Thanks for the reply. I selected the "Keep master FTP log file". Does that mean that the contents on this file will never be deleted again? If so, is it possible to rotate this master FTP log file?
    0
  • cPanelMichael
    I selected the "Keep master FTP log file". Does that mean that the contents on this file will never be deleted again?

    That's correct. You'd need to manually setup a configuration file for it in the /etc/logrotate.d/ directory if you wanted to rotate that log file after enabling the option. Thank you.
    0

Please sign in to leave a comment.