Share via


LogFileLocaltimeRollover

LogFileLocaltimeRollover specifies IIS log file rollover behavior for W3C Extended logging. If the property is set to false, the default rollover behavior will be in effect: A new log file will be created based on Coordinated Universal Time (UTC), not local time. If this property is set to true, a new log file will be created based on local time, not UTC. UTC was formerly called Greenwich Mean Time, or GMT.

note Note Regardless of the setting, the time stamp for each W3C Extended Logging log recordis UTC-based.

Attribute Name Attribute Value
XML Data Type Boolean
WMI Data Type
Boolean
ADSI Data Type Boolean
ABO Data Type Boolean
ABO Metabase identifier
MD_DEFAULT_EXTLOG_FIELDS
Attributes INHERIT
Default Value false
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type IIS_MD_UT_SERVER
StartingNumber Not applicable
EndingNumber Not applicable
ID 4015

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

Code Example

For general code examples, please see Code Examples to Configure Metabase Properties