08-27-04 11:18 PM
Westley,
W3C log file format, which is the default log file format, is always written
out using GMT. There's no way to change this. The IIS log file format is
written out in local time though, so your best bet might be to just change
your log file format. To do this, right-click on your web site and select
Properties, go to the Web Site tab, and select "Microsoft IIS Log File
Format" from the drop-down menu at the bottom of the tab.
If you like W3C format and don't want to change, then you can always do some
timestamp manipulation using Log Parser. Here are a few useful links:
How to get the IIS 6.0 Resource Kit Tools, which include Log Parser:
http://www.microsoft.com/downloads/...&DisplayLang=en
How to work with timestamps:
http://www.logparser.com/InstantKB/...e.aspx?id=10044
cheers,
alexis
"Westley" <anonymous@discussions.microsoft.com> wrote in message
news:02f901c48aed$3c83a840$a301280a@phx.gbl...
> Is there a way to force IIS logs to write its entries
> using the server's local time instead of GMT time?
[ Post a follow-up to this message ]
|