Linux – change Pure-FTPD log path

Default pure-ftpd settings store logs thru  ‘syslog’. Thanks to this we can forward logs inside syslog/rsyslog.

# inside /etc/syslogd.conf file find:

*.*;mail.none;news.none -/var/log/messages

#add ftp.none:

*.*;ftp.none;mail.none.news.none -/var/log/messages

#add new line for ftp:

ftp.* /var/log/ftp

 

Leave a Reply

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

*