IIS 7 Logging

This morning I found a nice little command line switch that tells the IIS 7 log buffer to write to the file on disk.  This is especially handy, since getting a log to write for SEO and log processing purposes can be a serious bitch if you don’t have a file written to!

Here is that command:

netsh http flush logbuffer

Other commands associated with the HTTP portion of netsh are all documented on MSDN Technet here, http://tr.im/NDmZ. Comes in pretty damn handy with IIS 7 and Windows Server 2008.

Good luck.