datalust / serilog-sinks-seq

A Serilog sink that writes events to the Seq structured log server
https://datalust.co/seq
Apache License 2.0
239 stars 50 forks source link

Update `Serilog.Sinks.File` to 5.x #181

Closed pinkfloydx33 closed 2 years ago

pinkfloydx33 commented 2 years ago

This project is currently using Serilog.Sinks.File 4.0.0 while version 5.0.0 has been available since June 2021. The older 4.0 version has a lot of dependencies on system packages like System.IO which in turn have various other "older" dependencies. This is causing some issues for us with implicit package downgrades in completely unrelated parts of our app. Manually adding the update to Serilog.Sinks.File fixes the problem.

Compare the depdendencies:

That aside, what does this library actually use the File sink for? Github code search only showing the reference in the project file. Is it actually used for something?

nblumhardt commented 2 years ago

Thanks for the note!

The file sink is used to write local durable buffer files when the sink is configured in that mode.