diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-03-13 15:09:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 15:09:48 +0100 |
commit | 804013b1f9ec6a0a5ed1577370cfae01d1a04799 (patch) | |
tree | 62f0f022b7d7639f3fcd7e0aa633f5e45fc417ad /lib | |
parent | Merge pull request #10716 from donaldsharp/routemap_rbtree_nonuniq (diff) | |
parent | lib: rotate log file supplied by command line (diff) | |
download | frr-804013b1f9ec6a0a5ed1577370cfae01d1a04799.tar.xz frr-804013b1f9ec6a0a5ed1577370cfae01d1a04799.zip |
Merge pull request #10724 from opensourcerouting/lib-rotate-logs
lib: rotate log file supplied by command line
Diffstat (limited to 'lib')
-rw-r--r-- | lib/log_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/log_vty.c b/lib/log_vty.c index ef33a39d4..81280f302 100644 --- a/lib/log_vty.c +++ b/lib/log_vty.c @@ -159,6 +159,7 @@ void zlog_rotate(void) { zlog_file_rotate(&zt_file); zlog_file_rotate(&zt_filterfile.parent); + zlog_file_rotate(&zt_file_cmdline); hook_call(zlog_rotate); } |