]> git.ipfire.org Git - thirdparty/bird.git/commit
Logging: fixed size logfiles behaving as mmapped ringbuffers thread-next-unlocked-logging
authorMaria Matejka <mq@ucw.cz>
Thu, 24 Aug 2023 15:00:54 +0000 (17:00 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 24 Aug 2023 16:16:04 +0000 (18:16 +0200)
commit2dbbc4c36f223f87b88b16f8c3dd473fa509295b
tree23a4a3d0fe1991f5244cf8697fc4f592778d25c6
parent3ab857f1d06c5dfbac4d70421f18042f88f5964d
Logging: fixed size logfiles behaving as mmapped ringbuffers

This variant of logging avoids calling write() for every log line,
allowing for waitless logging. This makes heavy logging less heavy
and more useful for race condition debugging.
doc/bird.sgml
sysdep/unix/config.Y
sysdep/unix/io.c
sysdep/unix/unix.h