Automated-Fact-Checking-Resources
Automated-Fact-Checking-Resources copied to clipboard
Bumped Serilog.Sinks.PeriodicBatching to 3.1.0
To ensure compatibility with other updated sinks (especially Serilog.Sinks.Seq)
Hi @vlm---!
It requires a bit of a code change in https://github.com/serilog-mssql/serilog-sinks-mssqlserver/blob/dev/src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/MSSqlServerSink.cs if you update the PeriodicBatching dependency because the interface has changed.
I already planned to update it but first I need to get PR #418 merged and fix the moderate vulnerability from #417 before I would be able to do this.
But if you have time to update the code to the new IBatchedLogEventSink within this PR, we would appreciate it.
I’ve thought that too with the version 3.0.0, but in 3.1.0 the inheritance interface was brought back. Anyway, I’ll try to look more closely on this over the weekend.
I think it's good to go, all tests pass, every sample app works. MSSqlServerSink
already implements IBatchedLogEventSink
and not using old inheritance model and in the PeriodicBatchingSinkFactory
, there is only one not used setting in PeriodicBatchingSinkOptions
: QueueLimit
, but it has reasonable default value.
Thank you very much! :)