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

/etc/init.d/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. Ta, just what I needed to know .. niow just got to work out what

    pure-ftpd: (?@?) [ERROR] Sorry, invalid address given

    means :)

  2. Paranormal says:

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


    1. Till says:

      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>