Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Time and date field in log are wrong

1 view
Skip to first unread message

Rober

unread,
Nov 16, 2009, 2:41:01 AM11/16/09
to
Hello.
I have my IIS log in W3C format, diary and using local time cheked.
The time of the server is correct.

I get in my log:
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-11-12 23:09:38
#Fields: date time
2011-10-19 10:40:18

The #fields: date time are completely different from what should be.
The server has the correct date and time.
My questions are:
Where do you get the IIS this time?
How does it solve?
Thanks
Rober

Jeffrey Ingalls

unread,
Nov 16, 2009, 11:24:02 AM11/16/09
to
Hi,

Great question. The checkbox may be a little misleading because you think
checking the box will make the entries inside the log to use local time when
in fact the checkbox refers to the naming of the logfiles themselves. The
time you are seeing inside the logfiles is in UCT format. The "Use local
time for file name and rollover" simply sets the creation time and naming
format for the log files to use midnight local time rather than GMT.

More information on the W3C Extended Log File Format for IIS 6.0:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/be22e074-72f8-46da-bb7e-e27877c85bca.mspx?mfr=true

All the best,
Jeffrey Ingalls

0 new messages