Skip to content

expireAfterSeconds not working? #43

@NTTAKR

Description

@NTTAKR

Hi, I have just discovered your log4mongo-net and it looks awesome so far.

I have configured the expireAfterSeconds property and checked the created DB/Collection that an index is created with the correct ExpireAfter value in it.
But the documents are never being expired.
I tried with 60 seconds, 10 seconds, 1 second, nothing.

I saw that the timestamp field is written in Timezone +0000 (so UTC), can this be the source of this problem?

Thanks
Andreas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions