Skip to content

No requests stored in Standalone when RequestLogExpirationDuration is set #1454

Description

@pbenko-xitaso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions