log-xfer |
NcFTPd domain.cf file configuration Don't forget to restart NcFTPd after modifying the domain.cf file. |
You set the name of the transfer logs with the log-xfer option. You may or may not choose to use the same log name for different domains.
The name of the log is actually a magic cookie string, where cookies representing time are expanded using strftime(3). For example, a log name of /var/log/ncftpd/xfer.%y%m%d would create daily logs named /var/log/ncftpd/xfer.971009, /var/log/ncftpd/xfer.971010, etc.
You can also use the cookie "@SETNAME@" which expands to the value of the set-name variable you used for this domain.
The format of the transfer logs is also documented.
Examples: