BedeGaming / sinks-rollingfile

A serilog sink for rolling files based on size and time
Apache License 2.0
15 stars 20 forks source link

File Retention Policy Applied To All Files In Folder #42

Open ritasker opened 7 years ago

ritasker commented 7 years ago

We have a couple of services running on a single VM. It became apparent that some of our log files where missing. Upon further investigation we found that the sink was keeping the latest x files (in our case 30) in the folder rather than the latest x files for a file name.

Lassesen commented 7 years ago

Problem is worst... If the logging folder was (badly) configure to be an application folder (i.e. Web Application) then config files will be deleted in time -- resulting in an obtuse outage,

kristianjaeger commented 6 years ago

Evandro submitted a PR for a fix a while back - https://github.com/evandropaula/sinks-rollingfile/pull/1 . @AndyWardle is this project still in active development? Thanks.