RequestLogFeature and EnableRequestBodyTracking in Asp.NET Core 3.1

When i enable this

Plugins.Add(new SharpPagesFeature())
Plugins.Add(new RequestLogsFeature() {
EnableRequestBodyTracking = true

The SharpPagesFeature is not returning any documents (like the default index.html).

I want to automatically log the body of (ajax)request with Content-type "application/json


I’ve just tried this in a .NET Core 3.1 project and it continues to returns the evaluated home page as expected.

See if Debug Logging shows any exception stacktraces, if not I’ll need a minimal repro.