Feature #3668
closed
Logging facility: sink auto_flush
Added by Junxiao Shi over 8 years ago.
Updated over 4 years ago.
Description
Allow enabling/disabling auto_flush
on Boost.Log sink backend for performance vs reliability tradeoff.
Would a simple static void Logging::setAutoFlush(bool)
function be enough to implement this feature?
- Assignee set to Alex Afanasyev
I don't really know why this would be ever needed, but I can quickly implement such customization using NDN_LOG_NOFLUSH environment variable. If defined to any value, auto-flush will be turned off.
- Status changed from New to Code review
- % Done changed from 0 to 100
- Status changed from Code review to Closed
- Target version set to 0.8.0
Also available in: Atom
PDF