IIS Advanced Logging is an extension for Internet Information Services (IIS) 7 that provides enhanced data collection and real-time server and client-side logging capabilities. It supports complex Web and media delivery scenarios that demand flexibility and control. These scenarios may require custom logging fields, real-time access to data, greater control over what gets logged and when, extensibility for new sources of data, the ability to consolidate log data posted by clients and correlate it to server data, the option of sharing data from various sources and storing it in multiple logs, capturing system-state information, inclusion of canceled requests in logs, and even logging multiple times per request.
You can use Advanced Logging to extend logging functionality for logging user requests and client data in the following ways:
- Custom logging. Include custom logging fields generated by your applications in log files.
- Request filtering. Collect only the information that is relevant to specific purposes by creating filters that process requests and record the relevant data to log files.
- Real-time logging. Publish the information in client requests as events that can be consumed, in real time, by log analysis tools.
- Client logging. Collect client-side metrics in logging fields that provide important user-engagement information.
This section describes the installation requirements for IIS Advanced Logging.
The following prerequisites must be fulfilled to install IIS Advanced Logging:
- You must use IIS 7 running on one of the following operating systems:
- Windows Server 2008
- Windows Server 2008 R2
- Windows Vista with SP1
- Windows 7
- To manage the Advanced Logging feature using the IIS Manager user interface, the IIS Management Console for IIS must be installed.
- You must be an administrator on the computer. This can be accomplished by logging on to the computer using either the Administrator account or an account with administrative privileges.
Advanced Logging cannot be installed if the previous version of the software (IIS Advanced Logging 1.0 – Beta) is installed on your computer. When you uninstall the Beta Advanced Logging software, your log definitions and any log files that have been created will be retained; however, other program settings may not be retained.
To uninstall the software, in Control Panel > Programs > Programs and Features, under Uninstall or change a program, click IIS Advanced Logging, and then click Uninstall.
IIS Advanced Logging can be installed by using either Microsoft Web Platform Installer (Web PI) or Windows Installer.
Install Using Web PI
- Go to the
Microsoft Web Platform Installer Web Pageand click Download It Now to download and run Web PI.
- At the bottom of the Web Platform Installer dialog box, click Options.
- In the Change Options dialog box, in Select your preferred language for software installations, select the language that you want, and then click OK.
- Back in the Web Platform Installer dialog box, at the top of the dialog box, click Products in the Spotlight - Products - Applications row of options.
- In the Contents pane, click either All or Server.
- In the list of products that is displayed, click the Add button for Advanced Logging, and then click Install.
Install Using Windows Installer
Two separate downloadable installation packages are available for IIS Advanced Logging. Click one of the following links to download the Windows Installer (.msi) file for your edition of Windows:
Follow the instructions on the Download Details page to install the software.
To remove the Advanced Logging feature, in Control Panel > Programs > Programs and Features, under Uninstall or change a program, click IIS Advanced Logging 1.0, and then click Uninstall.
This section describes the known issues for IIS Advanced Logging.
- Applying configuration changes in IIS Manager. If you change an Advanced Logging setting in IIS Manager and the change does not take effect, you may need to restart the Web server:
- In IIS Manager, in the Connections pane, click the server name.
- In the Actions pane, click Restart.
- Enabling and disabling logging for Web sites. The Advanced Logging feature can be enabled or disabled at the server level in IIS Manager, which also enables or disables logging at lower levels (matching the server-level setting). If you want to disable logging for certain Web sites or directories, while enabling logging for others, enable the Advanced Logging feature at the server level, and then disable the log definition files for the Web sites/directories for which you want to disable logging. To disable a log definition, do the following:
- In the Connections pane, click the Web site or directory for which you want to disable logging.
- In the Web site or directory Home page, double-click the Advanced Logging icon.
- In the Advanced Logging feature page, click the log definition, and then in the Actions pane, click Edit Log Definition.
- In the Log Definition page, clear the Enabled check box.
- In the Actions pane, click Apply.
- Repeat steps (3) through (5) for additional log definitions, if desired.
You can obtain support for IIS Advanced Logging by using the following resources:
To obtain support from Microsoft, go to
For More Information
To keep up-to-date with the latest Advanced Logging news and feature developments, go to the
Discuss in IIS Forums