Skip to content

Improved Control over Flushing in Logfiles

Philipp Seiwald requested to merge logger_flushcontrol into dev-v2

The flushing behavior of logfiles has been changed. In the past every logfile flushed its write buffer in 4kB chunks. This led to performance issues with lots of logfiles written over the network (caching of NFS suffered from the small buffer size). Thus, flushing is disabled now per default, but may be enabled by the user on a per-file basis.

New Features

  • [io::logging]:
    • LogFileBase now has an option to enable flushing (disabled by default). There is now also an option to set the desired packet size for flushing.

Merge request reports