Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Feb 12, 2025
1 parent e3c9f6c commit 7e5d412
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal class LoggingDelegatingHandler(ILogger<HttpClient> logger, HttpMessageH
{
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
logger.LogInformation("Sending HTTP request {Method} {Uri}", request.Method, request.RequestUri);
logger.LogInformation("Sending HTTP request {Method} {Uri}", request.Method, HttpUtility.UrlDecode(request.RequestUri?.ToString()));
request.Options.Set(new(RequestOptionNames.LogLevel), LogLevel.Warning);
request.Options.Set(new(RequestOptionNames.LogScopeData), new Dictionary<string, object?>());

Expand Down

0 comments on commit 7e5d412

Please sign in to comment.