]> git.puffer.fish Git - matthieu/frr.git/commit
lib: rotate log file supplied by command line
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 11 Jan 2022 18:39:11 +0000 (15:39 -0300)
committerRafael F. Zalamena <rzalamena@opensourcerouting.org>
Thu, 3 Mar 2022 21:28:08 +0000 (18:28 -0300)
commit3c1f92018bfa6a14ccf6eb70ccd93f38e54bf83f
treee579da6d5e6dce2ba9ae2580b45d7d8ac6620d3e
parent4190587a3f390825fa6dcaad0d4e84fdf417f135
lib: rotate log file supplied by command line

Call `zlog_file_rotate` for command file lines as well otherwise on
`SIGUSR1` the old descriptor will still be used and no new log file will
be created for the rotation.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib/log_vty.c