LoggingOptions.RequestPathLoggingMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a strategy how request path should be logged.
public Microsoft.AspNetCore.Telemetry.IncomingPathLoggingMode RequestPathLoggingMode { get; set; }
member this.RequestPathLoggingMode : Microsoft.AspNetCore.Telemetry.IncomingPathLoggingMode with get, set
Public Property RequestPathLoggingMode As IncomingPathLoggingMode
Property Value
The default value is Formatted.
Remarks
Make sure you add redactors to ensure that sensitive information doesn't find its way into your log records. This option only applies when the RequestPathParameterRedactionMode option is not set to Microsoft.Extensions.Http.Telemetry.HttpRouteParameterRedactionMode.None.