Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where do I apply the LOGTIMEOFFSET command ?

Status
Not open for further replies.

btturner

Programmer
May 17, 2001
175
US
We need to capture IIS Server's Log_TIME in Eastern Std time (not GMT)

QUESTION: Where do I apply the LOGTIMEOFFSET command ? (stated in the description below)

Found this link:
which states:

Make sure that the New Log Time Period is set to your desired rotation period. A typical setting would be for Daily rotation, although I imagine in a very high volume site, you might want to select hourly.

You can check the "Use local time for file naming and rollover" checkbox. This means that your log file rotation will occur at midnight local time rather than midnight GMT. Note that IIS will still log web hits using GMT time no matter what this check box is set to. To compensate for GMT time formatting, you will need a LOGTIMEOFFSET command before your LOGFILE command. Since this offset is independent of day light savings, you will need to change this twice a year in order to produce the correct times through Analog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top