Results 1 to 1 of 1
Okay,
I'm sure this has been covered at some point, but I'll be danged if I can find it anywhere.
I'm using vsftpd to run my FTP site on a ...
- 06-10-2009 #1
vsftpd logging
Okay,
I'm sure this has been covered at some point, but I'll be danged if I can find it anywhere.
I'm using vsftpd to run my FTP site on a server running Fedora 9. I want to do two (2) additional things with the logging. First I would like to create a directory for each month (eg...06_2009). Second I would like each days traffic to be in a logfile for that day, eg...all traffic for today would be written to a file 061009 in directory 06_2009.
I've tried several different things to put the system date variable into the filename, but that just didn't work. Any help would be greatly appreciated.Code:# Settings for Annonymous Users anonymous_enable=NO anon_upload_enable=NO anon_mkdir_write_enable=NO # # Settings for Local Users local_enable=YES local_umask=022 chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/etc/vsftpd/vsftpd.chroot_list userlist_enable=YES userlist_deny=NO # # # Global Settings write_enable=YES dirmessage_enable=YES # # Logging xferlog_enable=YES dual_log_enable=YES xferlog_std_format=NO log_ftp_protocol=YES xferlog_file=/FTP_Logs/vsftpd_xfer.log vsftpd_log_file=/FTP_Logs/vsftpd.log # Timeout idle_session_timeout=300 async_abor_enable=YES ftpd_banner=Welcome to the Berg-Oliver Associates, Inc. FTP service. # ls_recurse_enable=YES # listen=YES pam_service_name=vsftpd # tcp_wrappers=YES session_support=YES dirlist_enable=YES use_localtime=YES download_enable=YES passwd_chroot_enable=YES file_open_mode=0777 #
Any other suggestions to my vsftpd configuration file would be appreciated as well.


Reply With Quote