1 write to RequestBodyLogLimit
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingMiddlewareTests.cs (1)
399options.CurrentValue.RequestBodyLogLimit = 4;
9 references to RequestBodyLogLimit
Microsoft.AspNetCore.HttpLogging (7)
HttpLoggingEndpointConventionBuilderExtensions.cs (2)
19/// <param name="requestBodyLogLimit">Sets the <see cref="HttpLoggingOptions.RequestBodyLogLimit"/> for this endpoint. A value of <c>-1</c> means use the default setting in <see cref="HttpLoggingOptions.RequestBodyLogLimit"/>.</param>
HttpLoggingFields.cs (3)
127/// the entire request body up to <see cref="HttpLoggingOptions.RequestBodyLogLimit"/>. 174/// the entire request body up to <see cref="HttpLoggingOptions.RequestBodyLogLimit"/>. 194/// the entire request and response body up to the <see cref="HttpLoggingOptions.RequestBodyLogLimit"/>
HttpLoggingInterceptorContext.cs (1)
53/// This is pre-populated with the value from <see cref="HttpLoggingOptions.RequestBodyLogLimit"/>,
HttpLoggingMiddleware.cs (1)
79logContext.RequestBodyLogLimit = options.RequestBodyLogLimit;
Microsoft.AspNetCore.HttpLogging.Tests (2)
HttpLoggingMiddlewareTests.cs (2)
425var expected = input.Substring(0, options.CurrentValue.RequestBodyLogLimit / 3) + "[Truncated by RequestBodyLogLimit]"; 461var expected = input.Substring(0, options.CurrentValue.RequestBodyLogLimit) + "[Truncated by RequestBodyLogLimit]";