6/2/2023 0 Comments Example iis log fileActually, you can also flush the logs by restarting the Microsoft FTP Service (ftpsvc) but, as you would assume, it will impact currently active FTP sessions. There is not a netsh or appcmd solution though, so the scripting or programming options are the way to do it. Sure enough, Robert had the answer and even wrote a blog post in response to my question with code examples for four scripting/programming languages (C#, VB.NET, JavaScript, VbScript). This can make troubleshooting difficult when you don’t receive immediate access to the latest log data.Īfter looking everywhere I could think of, from search engine searches to perusing through the IIS schema files, I figured I had better go to the source and ask Robert McMurray. ![]() ![]() The logs for IIS FTP flush to disk every 6 minutes, and the HTTP logs every 1 minute (or 64kb). Today I wanted to find a way to flush the IIS FTP logs on-demand.
0 Comments
Leave a Reply. |