Closed abrasat closed 2 years ago
This would be possible: a sort of "rolling" feature. I've added an up-for-grabs label to this issue if anyone wants to submit a PR.
i just opened PR for this issue.
https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/77
PR is merged. Releasing latest.
Would be possible to configure the serilog mongodb sink to create one collection per day, and to keep for instance the logs from the last 30 days (the older collections should be removed) ? Are there any samples available about how to implement such a feature ?