Skip to content

Commit 1baed48

Browse files
author
R9 Fundamentals
committed
fix
1 parent 42bfe90 commit 1baed48

File tree

1 file changed

+2
-2
lines changed
  • aspnetcore/fundamentals/http-logging

1 file changed

+2
-2
lines changed

aspnetcore/fundamentals/http-logging/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ The following list shows the order of precedence for logging configuration:
211211

212212
Http logging with redaction can be enabled by calling <xref:Microsoft.Extensions.DependencyInjection.HttpLoggingServiceCollectionExtensions.AddHttpLoggingRedaction>.
213213

214-
[!code-csharp[](~/fundamentals/http-logging/samples/8.x/Program.cs?name=snippet7&highlight=10)]
214+
[!code-csharp[](~/fundamentals/http-logging/samples/8.x/Program.cs?name=snippet7&highlight=9)]
215215

216216
For more information about .NET's data redaction library, see [Data redaction in .NET](/dotnet/core/extensions/data-redaction).
217217

@@ -270,7 +270,7 @@ info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
270270

271271
### `ResponseHeadersDataClasses`
272272

273-
<xref:Microsoft.AspNetCore.Diagnostics.Logging.LoggingRedactionOptions.ResponseHeadersDataClasses> similar to <xref:responseheadersdataclasses>, but for response headers.
273+
<xref:Microsoft.AspNetCore.Diagnostics.Logging.LoggingRedactionOptions.ResponseHeadersDataClasses> similar to <xref:Microsoft.AspNetCore.Diagnostics.Logging.LoggingRedactionOptions.RequestHeadersDataClasses>, but for response headers.
274274

275275
[!code-csharp[](~/fundamentals/http-logging/samples/8.x/Program.cs?name=snippet_redactionOptions&highlight=11)]
276276

0 commit comments

Comments
 (0)