Ubuntu – vsftpd log file location

ftpvsftpd

Can someone tell me where is located the log file for vsftpd? I'm trying to learn how to install and configure a ftp server and I can't seem to find the log file. Can anybody tell me how to configure the service to make a log file or where is located?

Best Answer

The log file for Ubuntu by default is /var/log/vsftpd.log. The setting is in /etc/vsftpd.conf

The default could be modified by specifying a different pathname (/etc/vsftp.conf entry):

# You may override where the log file goes if you like. The default is shown
# below.                     
#xferlog_file=/var/log/vsftpd.log 
Related Question