

This server can either be in the same domain as the local IIS server, or a different domain. To lessen the problem of log disk usage, you can move your IIS log files to a folder on another server that has more space. The folder is configured in the Directory property on the Logging page for either the server or an individual site. IIS log files are stored by default in the %SystemDrive%\inetpub\logs\LogFiles folder of your IIS server. Also note that this one-time process could slow down the computer during the initial compression, so if this is a production server, perform this operation during off-peak hours to prevent service degradation. If the folder already contains a significant amount of data, it could take the computer a while to compress its contents. It is not a final solution, however, because disk usage still grows over time, and could eventually fill up the hard drive. This is a simple way to lower disk usage. The name of the folder and the name of each file should be colored blue, and the size of a compression file should be smaller. Verify that the folder contents are compressed.

Create separate logs for Web sites and applications.Limit log size by omitting unneeded property fields.

You may also want to do the following to control disk usage: The above mitigations are described in the sections below. Delete old log files by the IIS Log File Cleaner.Fortunately, there are alternatives to doing so, such as the following: To mitigate this problem, many users turn off logging completely. Logs can potentially fill up an entire hard drive. The log files that IIS generates can, over time, consume a large amount of disk space. You can manage the amount of server disk space that Internet Information Services (IIS) log files consume by using compression, remote storage, scripted deletion, and an IIS Log Cleaner Tool.
