Describe the bug
Requests don't get stored if RequestLogExpirationDuration is set in the settings.
Expected behavior:
Requests get stored for the specified duration
Test to reproduce
- Start a standalone server that has
RequestLogExpirationDuration set
- Send an unmatched request to the server
- Call
GET {server}/__admin/requests
- ❌ Empty array is returned
Other related info
I could trace this issue to here where the response DateTime is set to 1.1.0001 and as such, the Log entry gets deleted.
A assume that the root cause is that the DateTime is left to the default here
Describe the bug
Requests don't get stored if
RequestLogExpirationDurationis set in the settings.Expected behavior:
Requests get stored for the specified duration
Test to reproduce
RequestLogExpirationDurationsetGET {server}/__admin/requestsOther related info
I could trace this issue to here where the response DateTime is set to 1.1.0001 and as such, the Log entry gets deleted.
A assume that the root cause is that the DateTime is left to the default here