As you’ve probably read in my post AppCmd introduction and examples, AppCmd is a very extensive tool to administer Windows Server IIS hosting environments. Therefore, now a bit more about a common error message you might get using Failed Request Tracing:
The maximum size of an FREB log file, in IIS 7+, is 512 KB per default. Once that size is reached, the log file is cut off (truncated) and a message LOG_FILE_MAX_SIZE_TRUNCATE is logged.
Did you know you can easily increase the FREB log file size server wide? The following
AppCmd.exe command doubles the size to 1024 KB, or 1 MB:
AppCmd.exe set config /section:sites -siteDefaults.traceFailedRequestsLogging.maxLogFileSizeKB:1024
Did you find this post interesting? Did it help you solve a problem? If I’ve helped you out and you want to thank me, then why not buy me a coffee?
A small donation of only $5 helps out a lot in the development, research and hosting of this blog.
Thank you for your support.