Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Serilog to 4.0.x #212

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Upgrade Serilog to 4.0.x #212

merged 2 commits into from
Oct 5, 2024

Conversation

ArieGato
Copy link
Owner

fixes #210

  • upgrade Serilog packages
  • use new wrapper sink construction
  • use IBatchedLogEventSink from core serilog package
  • remove Serilog.Sinks.PeriodicBatching dependency

- use new wrapper sink construction
- remove Serilog.Sinks.PeriodicBatching
- use IBatchedLogEventSink from core serilog package
@github-actions github-actions bot added the tests label Sep 25, 2024
@ArieGato
Copy link
Owner Author

@nblumhardt Could you take a look at this PR? I'm wondering if I implemented the new Periodic Batching and Wrapping Sink
correctly.

@ArieGato ArieGato requested a review from sungam3r September 25, 2024 16:13
@nblumhardt
Copy link

Hi @ArieGato,

The switch to the Serilog 4 batching configuration looks good 👍

I've been doing some work on a built-in fallback-logging implementation that seems like it would streamline how you're setting up failure sinks in this project; if you have a chance to check it out, any feedback over there would be really helpful: serilog/serilog#2108

Cheers!
Nick

@avermunt avermunt merged commit 5a0b443 into master Oct 5, 2024
5 of 6 checks passed
@avermunt avermunt deleted the feature/210-upgrade-serilog-4 branch October 5, 2024 07:50
Copy link

codecov bot commented Oct 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.26%. Comparing base (e0d3aed) to head (fa5fbf7).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
- Coverage   96.28%   96.26%   -0.03%     
==========================================
  Files           8        8              
  Lines         485      482       -3     
  Branches       45       45              
==========================================
- Hits          467      464       -3     
  Misses          9        9              
  Partials        9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Serilog to 4.x
3 participants