Partilhar via


Advanced Logging Page

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Use the Advanced Logging feature page to view and manage log definitions, which define the logging fields that are logged. You can sort the list of log definitions by clicking a feature page column heading or by selecting a value in the Group by drop-down list to group similar items.

UI Element List

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

Element Name Description

Name

Displays the base file name of the log definition.

Note
The Advanced Logging feature includes a default log definition named %COMPUTERNAME%-Server, which begins logging requests made to the Web server immediately after the feature is installed, for a selected set of logging fields that are important for media delivery scenarios. You can modify the default log definition at the server level; however, you cannot modify it at the site level.

To modify the data stored in log files for your Web sites, you must create a new log definition. You can use the existing default log definition as a template by creating a copy of it with a new base file name (for example, %COMPUTERNAME%-Site). To do this, select the default log definition, and then in the Actions pane, click Clone Log Definition. To create a new log definition without using the default log definition as template, in the Actions pane, click Add Log Definition.

%COMPUTERNAME% is an environment variable that the Advanced Logging feature replaces with the computer name in the log file name that it creates. For more information about how the Advanced Logging feature names the log files, see Log Definition Page.

Enabled

Displays the log definition status: Enabled or Disabled.

Actions Pane Elements

Element Name Description

Add Log Definition

Opens the Log Definition page, where you can create a log definition.

Edit Log Definition

Opens the Log Definition page in edit mode so that you can edit the selected log definition.

Remove Log Definition

Removes the selected log definition from the list.

Disable Log Definition

Disables the selected log definition. Log definitions are enabled by default.

Enable Log Definition

Enables the selected log definition.

Clone Log Definition

Opens the Clone Log Definition dialog box so that you can create a copy of the selected log definition with a new name.

Enable Advanced Logging

Enables the Advanced Logging feature. Advanced Logging is disabled by default.

Disable Advanced Logging

Disables the Advanced Logging feature.

Enable Client Logging

Enables logging of HTTP POST requests from supported clients in the Advanced Logging feature. Client logging is disabled by default.

Note
To learn more about how to use client logging, see Advanced Logging for IIS 7.0 – Client Logging.

Disable Client Logging

Disables client logging in the Advanced Logging feature.

Edit Logging Fields

Opens the Edit Logging Fields dialog box, in which you can add custom logging fields to and remove logging fields from a list of logging fields that are available for adding to log definitions.

Edit Log Directory

Opens the Edit Log Directory dialog box, in which you can specify the physical path where the log files are stored. At the server level, you can specify separate log file directories for the server and for all Web sites on the server. At the site level, you can specify the log file directory for the Web site. The default path for all log file directories is %SystemDrive%\inetpub\logs\AdvancedLogs.

View Log Files

Opens the log file directory that is specified in the Edit Log Directory dialog box.

Note

At the server level, the log file directory specified for the server is opened. At the site level, the log file directory specified for the Web site is opened.

See Also

Concepts

Log Definition Page
Clone Log Definition Dialog Box
Edit Logging Fields Dialog Box
Edit Log Directory Dialog Box