IIS Logs question

J

Joe

Hello:

I've been examining IIS logs downloaded from my web host's server, and
I noticed that entried that they should have been created by me going
to my own site minutes before are not there. In fact, it seems the
logs were way off timewise. How does IIS write to logs? Does it keep a
cache and then dumps it once in a while to the logs, or writes right
away (the latter doesn't seem the case). I am concerned by this an
other anomalies in which my hosting service seems involved.
 
R

Ray Costanzo [MVP]

Are you sure it's not just that the server's time setting is in a different
time zone? Are you looking at the GMT time?

Ray at work
 
D

Dave Anderson

Joe said:
I've been examining IIS logs downloaded from my web host's server, and
I noticed that entried that they should have been created by me going
to my own site minutes before are not there. In fact, it seems the
logs were way off timewise. How does IIS write to logs? Does it keep a
cache and then dumps it once in a while to the logs, or writes right
away (the latter doesn't seem the case). I am concerned by this an
other anomalies in which my hosting service seems involved.

Per the W3C Extended Log File Format:

"All dates are specified in GMT."

http://www.w3.org/TR/WD-logfile.html




--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
J

Joe

Thanks for the replies. I knew that the web server in question writes
GMT logs, but still, the logs are off, and the very last visits aren't
written down immediately. All I have to do is go to my website, click
a few links, then download the current log. The log will be behind at
least 15 minutes, probably much more. Therefore my initial question
below :
 
J

Jeff Cochran

Thanks for the replies. I knew that the web server in question writes
GMT logs, but still, the logs are off, and the very last visits aren't
written down immediately. All I have to do is go to my website, click
a few links, then download the current log. The log will be behind at
least 15 minutes, probably much more. Therefore my initial question
below :

Depends on version of IIS. IIS does cache changes to the log file and
write them later, and IIS6 has changed some of this as well. Though
the times should be accurate, the events may not be written for some
time after they happen.

Try the IIS group for details on your specific version.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top