LogType

LogType

IIS 6.0

The LogType property indicates whether logging to the IIS log files is enabled. IIS log files are stored in %SystemRoot%\system32\Logfiles\<Service_Type><Site_Number>. This property is read-write.

If LogType is set to 0, then logging is disabled. If LogType is set to 1, then logging is enabled. To disable logging for child nodes under a parent node for which LogType is set to 1, set the DontLog property to on the child nodes.

ASP and ODBC errors do not get logged to the IIS log files. For more information, see IIS Error Codes.

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

There are no flags for this property.

Client: Requires Windows XP Professional, or Windows 2000 Professional.

Server: Requires Windows Server 2003, or Windows 2000 Server.

Product: IIS

Show:
© 2016 Microsoft