Share via


Pipeline Logging Using the LoggingEnabled and LogPath Properties

The LoggingEnabled property enables pipeline logging for the .NET OrderPipeline and ContentSelectionPipeline classes. The LogPath property gets the path of the log file.

The LoggingEnabled property determines whether pipeline logging is enabled. When it is set to True, a pipeline log is created in the relative path \pipelines\log. The name of the log file is generated by using the ID of the user making the corresponding request to run the pipeline and the extension "pipelog".

If the user cannot be identified, the log file is named based on the pipeline being run. For example "basket.pipelog".

See Also

Other Resources

Pipeline Logging in ASP.NET-Based Sites

Pipeline Logging Using the IPipeline.SetLogFile Method

Turning On Pipeline Logging