Change where PureFTP logs transfers?
Pure FTP seems to be logging transfers to /var/log/messages. How do I put these transfers (or even all FTP logs) in a different ftp.log or something?
-
Hey there! Inside the /etc/pure-ftpd.conf file, there is this block of text: ==================================================================== # Create an additional log file with transfers logged in a Apache-like format : # fw.c9x.org - jedi [13/Apr/2017:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338 # This log file can then be processed by common HTTP traffic analyzers. AltLog xferlog:/etc/apache2/logs/domlogs/ftpxferlog ==================================================================== so you would find all transfer data logged to that directory for the users. Is that enough information to get what you're looking for? 0 -
It helps, thanks. 0 -
You're welcome! 0
Please sign in to leave a comment.
Comments
3 comments