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

NLogTraceListener - set DisableFlush true by default #2407

Merged
merged 1 commit into from
Nov 19, 2017

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Nov 18, 2017

NLog will automatically flush on AppDomain-shutdown, so going crazy and eating all threads when autoflush=true is not a good idea. See also #353

This gives a better out-of-box-experience, but also a breaking change, so should be deferred to NLog 4.5 or 5.0

Replaces #2142

@snakefoot
Copy link
Contributor Author

Inspired by #2404 :)

@304NotModified 304NotModified added enhancement Improvement on existing feature needs documentation on wiki labels Nov 18, 2017
@304NotModified 304NotModified changed the title NLogTraceListener - DisableFlush should be true by default NLogTraceListener - set DisableFlush true by default Nov 18, 2017
@304NotModified 304NotModified added this to the 4.5 beta 8 milestone Nov 18, 2017
@304NotModified
Copy link
Member

👍 good defaults are important

@codecov
Copy link

codecov bot commented Nov 19, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@55c5849). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             master   #2407   +/-   ##
========================================
  Coverage          ?     82%           
========================================
  Files             ?     320           
  Lines             ?   23016           
  Branches          ?    2845           
========================================
  Hits              ?   18772           
  Misses            ?    3495           
  Partials          ?     749

@304NotModified 304NotModified merged commit 4b24824 into NLog:master Nov 19, 2017
@snakefoot snakefoot mentioned this pull request Nov 23, 2017
@snakefoot snakefoot deleted the NLogTraceListenerNoFlush branch December 4, 2017 19:48
@snakefoot snakefoot modified the milestones: 4.5 beta 8, 4.5 Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants