Steve Schofield's Blog

IIS7 post #42 - Flush log buffer immediately to disk

This is a handy feature I discovered in Windows Server 2008.  You can force http.sys to flush cached log entries immediately to disk.  The next time you are waiting for requests to flush to your IISLogs, go to the command prompt and type

netsh http flush logbuffer 
You'll see an Ok.  

Then open your log files and your entries should be present.

Take care,

Steve

Published Wednesday, June 20, 2007 12:46 AM by Steve Schofield Weblog
Filed under:
Anonymous comments are disabled

Powered by Community Server 2.1