Document ID: 62021
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Configure Storage Location for IIS Log Files
Related Information
Introduction
The logs that Windows Internet Information Services (IIS) generate continue to accumulate if unchecked. These logs can consume the available space on the partition to which they are published. This accumulation eventually leads to an operating system (OS) crash due to lack of space for the paging file or other critical OS components. At this time, there is no native Windows application to overwrite or purge these logs. Starting with server version 5.3, this functionality is automated in the product (one month of IIS logs are kept).
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on these software and hardware versions:
-
Cisco MeetingPlace Web versions 5.2.x and earlier
-
Microsoft Windows IIS 5 and 6
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Configure Storage Location for IIS Log Files
The logs are located by default in %WinDir%\System32\LogFiles, where %WinDir% is the location of the OS root directory (in Windows 2000, this typically defaults to C:\WinNT).
The log files can be identified by the extension .log. The default filename is in the format exYYMMDD.log, where YY is the year, MM is the month, and DD is the day.
Complete these steps:
-
Choose Start > Programs > Administrative Tools > Internet Services Manager to open the Internet Services Manager.
-
Right-click on Default Web Site and choose Properties. The Site Properties page opens and displays the Web Site tab configuration parameters.
-
Next to the Active log format drop-down menu, click Properties.
-
Next to the Log file directory drop-down menu, click Browse to change the log file location. If possible, store the IIS logs on a drive other than the OS root partition (the C:\ drive).
-
Click Apply, and then click OK to close the Extended Logging Properties box.
-
Click OK to close the Default Web Site Properties box.
-
Close IIS.
-
If you have many IIS logs stored in the c:\winnt\system32\LogFiles\W3SVC1\ folder, delete the files you do not need.
-
Complete the steps in MeetingPlace Web Daily IIS Log Management with an Automated Script to implement an automated script to manage your IIS logs.
Recommendations
These are some recommendations on how to manage the log files:
-
If you have a network directory or non-root partition to which you can post the log files, it is recommended you do so to avoid OS issues.
-
Regardless of their location, it is recommended that you purge the log files every quarter (or sooner, based upon usage and disk size). It is recommended that you keep at least one month's worth for use in debugging.
-
Use the Windows Scheduled Task utility to run the batch file to automatically purge IIS logs on a regular basis.
Related Information
- Voice Technology Support
- Voice and IP Communications Product Support
- Recommended Reading: Troubleshooting Cisco IP Telephony

- Technical Support - Cisco Systems
| Updated: Jan 31, 2006 | Document ID: 62021 |
