Proftpd 1.3.5e Server on Ubuntu 18.04 LTS.
How do I set up verbose logging for ProFTPd such that the ftp USER and filename and IP address and timestamp all show up on one line? For each file name uploaded and/or downloaded? One line per file?
Thanks!
There are two ways you might achieve this. The easiest is to configure a
TransferLogdirective in yourproftpd.conf:The format of this log file is fixed; see
xferlog(5)for details. But the format does include the fields you requested.Alternatively, you can use ProFTPD's more sophisticated
LogFormatdirective to specify your own log format, and then theExtendedLogdirective to use thatLogFormatfor writing to a specific file, e.g.Hope this helps!