CFtpServer::m_nLogFormat  
 
UINT m_nLogFormat;

The format used when updating the server log file.

Remarks

The m_nLogFormat data member is a public variable that specifies the format of the log file that is created or updated by the server. It may be one of the following values:

Value Description
FTP_LOGFILE_NONE This value specifies that the server should not create or update a log file.
FTP_LOGFILE_COMMON This value specifies that the log file should use the common log format that records a subset of information in a fixed format. This log format usually only provides information about file transfers.
FTP_LOGFILE_EXTENDED This value specifies that the log file should use the standard W3C extended log file format. This is an extensible format that can provide additional information about the client session.

By default, logging is not enabled for the server. Changing the value of this data member does not have an effect on an active instance of the server. To change the format, level of detail or default log file name, use the SetLogFile method.

See Also