Share via


PipelineBase.LogPath Property (BCL)

The LogPath property is a read-only String that gets the path of the log file.

Definition

[Visual Basic .NET]

Public ReadOnly Property LogPath As System.String

[C#]

public System.String LogPath{get;} 

Property Value

The path of the log file.

Remarks

When a pipeline object is run within the Commerce Server .NET Application Framework and the CommerceContext.UserID property is set (either explicitly or because the CommerceAuthenticationModule is enabled), the log file path is constructed using the path section of the logPath property that was provided when the pipeline was constructed and appends the CommerceContext.UserID property for the filename. When a pipeline object is running outside of the Commerce Server .NET Application Framework, or when the CommerceContext.UserID property is not set, the log file path is set to the complete logPath specified when the pipeline object was constructed.

Pipeline logging is not thread safe, so it is recommended that you set the CommerceContext.UserID property either automatically or explicitly, so that a unique log file name is generated with each execution.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Pipelines

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.