Closed brantw closed 8 years ago
Thanks Brant!
In v2, PeriodicBatchingSink
has moved to Serilog.Sinks.PeriodicBatching on NuGet, so hopefully the churn should be a bit less with that pulled in.
Ah, I wondered where that went. I'll update to use batching.
Updated to use periodic batching.
Thanks for the update Brant! I think the diff is made much larger by the whiltespace/formatting-type changes, it'd be great to minimise these so that folks following along can easily check out what's new in this version.
Looking good though!
I probably made those whitespace, variable name changes when I was testing the conversion before pulling in the PeriodicBatchingSink
package. Should be updated now.
Any update on this after my last commit?
@brantw were you waiting for a nuget package?
There is only the master branch here. Generally we will hang off pushing this to master until .Net Core goes RTM.
In the meantime would you like AppVeyor to be configured to spit out beta packages?
@merbla -
Isn't Serilog main is .net core compatible? Why would you not make the sinks if so? Thats the whole reason we switched to Serilog was that reason.
Yes, a beta package would be great, but to be honest it feels like it won't be til next year until RTM is available. RC1 is supported by Microsoft and treated as a viable production deployment option.
Yes, a beta package would be great.
Hey all - I should have some time to look into this today, I'll create a dev
branch here and get this PR merged to it (the ticket won't close until it hits master, but that's still easier than retargeting :-) )
Publishing Serilog.Sinks.MongoDB.3.0.0-beta-24.nupkg to https://www.nuget.org/api/v2/package...OK
Total packages published: 1
Build success
Now merging this PR to dev..
Merged to dev; new package should be out as -25
https://ci.appveyor.com/project/serilog/serilog-sinks-mongodb
PR won't show as merged until this hits master; changed the default branch for future PRs.
Looks like there was a problem with CI - I was expecting this to be out :-( ... Looking into it now.
I took a stab at updating the MongoDB sink to .NET Core / Serilog 2.0. The sink is still constrained to the full CLR due to the MongoDB.Driver dependency (which the MongoDB team is working on updating).
Feedback welcome.