Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 194699 - Last Review: July 7, 2008 - Revision: 4.2
Extended Log File Format Always in GMT
This article was previously published under Q194699
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
For more information about IIS 7.0, visit the following Microsoft Web site:
Internet Information Server (IIS) and Internet Information
Services (IIS) administrators cannot change the time format for the extended
log file format to use a time zone other than Greenwich Mean Time (GMT).
The extended log file format is defined in the W3C Working
Draft WD- logfile-960323 specification by Phillip M. Hallam-Baker and Brian
Behlendorf. This document defines the Date and Time files to always be in GMT:
Date
<date> = 4<digit> "-" 2<digit> "-" 2<digit>
Dates are recorded in the format YYYY-MM-DD where YYYY, MM and
DD stand for the numeric year, month and day respectively. All dates
are specified in GMT. This format is chosen to assist collation using
sort.
Time
<time> = 2<digit> ":" 2<digit> [":" 2<digit> ["." *<digit>]
Times are recorded in the form HH:MM, HH:MM:SS or HH:MM:SS.S where HH
is the hour in 24 hour format, MM is minutes, and SS is seconds. All
times are specified in GMT.
This behavior is by design.
For more information on the extended log file format, see
the W3C Working Draft WD-logfile-960323 specification at the following URL:
For additional information, click the
following article number to view the article in the Microsoft Knowledge Base:
193612Â
(http://kbalertz.com/Feedback.aspx?kbNumber=193612/EN-US/
)
Log Files Rolled Over According to GMT, Not Local Time Zone
APPLIES TO
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Services 5.0
- Microsoft Internet Information Services version 5.1
- Microsoft Internet Information Services 6.0
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate