]> git.ipfire.org Git - thirdparty/bird.git/commit
Unix: Implement log file size limit / log rotation
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 14 Nov 2018 16:16:05 +0000 (17:16 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 18 Nov 2018 13:03:50 +0000 (14:03 +0100)
commit6712e77271fb3cb4a3c48cd7b027b39c5cea00a2
tree9fd54c0a94001e27cc4dfe65f78dc4474126ea3f
parentc68ba7d093e1fcf01fceb341438fc5dc95f93ac5
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/log.c
sysdep/unix/unix.h