Project

General

Profile

Feature #3668

Logging facility: sink auto_flush

Added by Junxiao Shi over 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Utils
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h
Tags:

Description

Allow enabling/disabling auto_flush on Boost.Log sink backend for performance vs reliability tradeoff.


Related issues

Blocked by ndn-cxx - Feature #3562: Logging facilityClosedJunxiao Shi

Actions
#1

Updated by Junxiao Shi over 5 years ago

#2

Updated by Davide Pesavento over 3 years ago

Would a simple static void Logging::setAutoFlush(bool) function be enough to implement this feature?

#3

Updated by Davide Pesavento over 1 year ago

  • Tags set to logging
#4

Updated by Alex Afanasyev over 1 year ago

  • 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.

#5

Updated by Alex Afanasyev over 1 year ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
#6

Updated by Davide Pesavento over 1 year ago

  • Status changed from Code review to Closed
  • Target version set to v0.8

Also available in: Atom PDF