CHttpServer::m_nLogLevel  
 
UINT m_nLogLevel;

The level of detail included in the server log file.

Remarks

The m_nLogLevel data member is a public variable that specifies the level of detail that should generated in the log file. The minimum value is 1 and the maximum value is 10. If the m_nLogFormat data member specifies a valid log file format and this value is zero, a default level of detail will be selected based on the format.

The common log file format generally contains less information by default, only logging the data transfers between the client and server. The W3C extended log file format defaults to a higher level of detail that includes additional information about the client session. The higher the level of detail, the larger the log file will be.

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