serilog-contrib / Serilog.Sinks.Postgresql.Alternative

Serilog.Sinks.Postgresql.Alternative is a library to save logging information from https://github.com/serilog/serilog to https://www.postgresql.org/.
MIT License
67 stars 13 forks source link

Deleting logs older than #59

Open JustSxm opened 1 year ago

JustSxm commented 1 year ago

Hello,

When logging with Serilog using files it is possible to retain only a number of files if I'm not mistaken. Is it possible to do something similar with this sink by only keeping for example, the last 24hours only? Or do I need to make something who delete logs every day? Thanks

MichalNemec commented 10 months ago

why is this closed? i cannot see any option for this.

JustSxm commented 10 months ago

We decided to opt for another option, so I just closed the issue as it doesnt seems as serilog had this as a goal

SeppPenner commented 10 months ago

why is this closed? i cannot see any option for this.

There is none yet, I honestly missed the issue by that time...

SeppPenner commented 10 months ago

We decided to opt for another option, so I just closed the issue as it doesnt seems as serilog had this as a goal

Not Serilog, I just missed it. Still, this is a good idea if you ask me. I'm trying to implement this soon...

MichalNemec commented 8 months ago

Hello, is there any update for this?

SeppPenner commented 8 months ago

Sorry, no updates yet. I try to check this again soon.