Share via


Pipeline Logging in ASP.NET-Based Sites

To turn pipeline logging on in an ASP.NET-based site, you edit the Web.config file to enable logging and set the log file path. You must ensure that the process account, in the IIS_WPG or IIS_USRS group, has the required modify permissions on the pipeline logging directory. The process account depends on the version of IIS you are using, and whether you are using ASP or ASP.NET. The following table shows the process account that the permissions must be set for and the corresponding version of IIS.

Process account

IIS version

ASP.NET (ASPNET account)

Windows Server 2003 (IIS 5.0 isolation mode)

ASP or ASP.NET (IIS 6.0 application pool worker process account)

Windows Server 2003 and Windows Server 2008 (IIS 6.0 native mode)

ASP or ASP.NET (IIS 7.0 application pool worker process account)

Windows Server 2008 (IIS 7.0 native mode)

See Also

Other Resources

Pipeline Logging Using the IPipeline.SetLogFile Method

Pipeline Logging Using the LoggingEnabled and LogPath Properties

Turning On Pipeline Logging