How to enable verbose logging in pure-ftpd on Debian Linux

To turn on verbose logging (e.g. to debug FTP connection or authentication problems) in  pure-ftpd FTP server on Debian and Ubuntu Linux, execute the following command as root user in the shell:

echo 'yes' > /etc/pure-ftpd/conf/VerboseLog

and then restart pure-ftpd, for init based systems:

/etc/init.d/pure-ftpd-mysql restart

For Servers that use systemd:

service pure-ftpd-mysql restart

The debug output will be logged to Syslog. To view the log content, execute:

tail -n 100 /var/log/syslog

To disable verbose logging, execute these commands:

rm -f /etc/pure-ftpd/conf/VerboseLog
/etc/init.d/pure-ftpd-mysql restart

4 thoughts on “How to enable verbose logging in pure-ftpd on Debian Linux”

  1. Hello
    thanks for this guide
    but how can i change the log file
    i want puer-ftpd to verbose logging in separate file


    1. From pure-ftpd documnentation:

      Log messages are sent to the syslog daemon. You can disable logging with
      ‘-f none’.
      If you want all FTP messages to be redirected to a file, say /var/log/ftp,
      add this line to your /etc/syslog.conf file:

      ftp.* /var/log/ftp

      Then restart your syslogd daemon:

      killall -HUP syslogd

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>