]> git.ipfire.org Git - thirdparty/bird.git/commit
Unix: Implement log file size limit / log rotation
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sat, 24 Nov 2018 00:52:13 +0000 (01:52 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sat, 24 Nov 2018 00:52:13 +0000 (01:52 +0100)
commit80a4c23b1e7e94f6ded7fba4f0e2719d2c9704e0
tree011d75b8240d8806680af58fa77958aafb516333
parent9861dba5230da539e6ce7d2b6baa4f2631556d09
Unix: Implement log file size limit / log rotation

Allow to specify log file size limit and ensure that log file is rotated
to secondary name to avoid exceeding of log size limit.

The patch also fixes a bug related to keeping old fds open after
reconfiguration and using old fds after 'configure undo'.
sysdep/unix/config.Y
sysdep/unix/io.c
sysdep/unix/log.c
sysdep/unix/unix.h