Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Number of log files per FTP session

About the log file limit per FTP session  Top

There are two log files per FTP session: ftp.cmd and ftp.xfer. The ftp.cmd is for command log and the ftp.xfer is for the data transfer log. When the log being written reaches the ftpd.log.filesize limit, Data ONTAP begins writing to a new log file. Once the number specified by ftpd.log.nfiles is reached, Data ONTAP "wraps around" and begins overwriting the first log file.

Changing the number of log files kept in the system  Top

To change the number of log files you want to keep in the system, complete the following step.

Step

Action

1

Enter the following command:

options ftpd.log nfiles [number of files]

Example

options ftpd.log nfiles 10

The number you specify must be from 1 to 100, inclusive.

Note
If you change the ftpd.log.filesize or the ftpd.log.nfiles, you must restart the FTP service using the options ftpd.enable on|off command. Because log settings are initiated when the FTP session is started, if you do not restart your FTP sessions, your current log settings are not applied to the filer.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments