Thursday, March 8, 2018

Flush IIS Logs in Real Time

Use following command to flush IIs Logs in real time without 60 seconds wait.

netsh http flush logbuffer

can run following command in background 

while true; do netsh http flush logbuffer > /dev/null; sleep 1; done &

and then tail
tail -100f u_ex130814.log

No comments:

Post a Comment