diff options
author | David Lamparter <equinox@diac24.net> | 2017-08-09 19:29:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 19:29:16 +0200 |
commit | d258b1df2ba74ed58b1d6f56ca31afa7dd45a570 (patch) | |
tree | 11be058760d6a170662af997776d6c444069d4bf /redhat | |
parent | Merge branch 'stable/3.0' (diff) | |
parent | Switch to using syslog for logging as the default (diff) | |
download | frr-d258b1df2ba74ed58b1d6f56ca31afa7dd45a570.tar.xz frr-d258b1df2ba74ed58b1d6f56ca31afa7dd45a570.zip |
Merge pull request #883 from daveolson53/master
Switch to using syslog for logging as the default
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/frr.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/frr.logrotate b/redhat/frr.logrotate index f43a86efe..25a558778 100644 --- a/redhat/frr.logrotate +++ b/redhat/frr.logrotate @@ -1,3 +1,11 @@ +/var/log/frr/frr.log { + notifempty + missingok + postrotate + /bin/kill -HUP `cat /var/run/*syslog*.pid 2> /dev/null` 2> /dev/null || true + endscript +} + /var/log/frr/zebra.log { notifempty missingok |