LogOdbcDataSource
LogOdbcDataSource specifies the name of the ODBC data source to which Microsoft Windows will write data during logging events.
Important The logging module's CLSID determines whether Microsoft Windows will log to an ODBC data source, or to the file system.
Attribute Name | Attribute Value |
---|---|
XML Data Type | String |
WMI Data Type |
String
|
ADSI Data Type | String |
ABO Data Type | String |
ABO Metabase identifier |
MD_LOGSQL_DATA_SOURCES
|
Attributes | INHERIT |
Default Value | httplog |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_SERVER |
StartingNumber | Not applicable |
EndingNumber | Not applicable |
ID | 4007 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n | IIsWebServer |
/LM/MSFTPSVC/n | IIsFtpServer |
/LM/W3SVC | IIsWebService |
/LM/MSFTPSVC | IIsFtpService |
/LM/NNTPSVC | IIsNntpService |
/LM/NNTPSVC/n | IIsNntpServer |
/LM/SMTPSVC | IIsSmtpService |
/LM/SMTPSVC/n | IIsSmtpServer |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties