You can manage SFTP log files by enabling or disabling them, specifying their maximum size, and specifying their maximum number.
More information
Enabling or disabling SFTP log files
You can enable or disable SFTP log files by setting the sftp.log_enable option to on or off, respectively. This enables you to enable or disable SFTP event logging. By default, this option is on.
Specifying the maximum number of SFTP log files
To specify the maximum number of SFTP log files, you can set the sftp.log_nfiles option. By default, the maximum number of SFTP log files is 6.
Specifying the maximum size of the current SFTP log files
To specify the maximum size of the current /etc/log/sftp.cmd.* SFTP log files, you can set the sftp.log_filesize option. By default, the maximum size of the current SFTP log files is 512 KB.