summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-08-09 19:29:16 +0200
committerGitHub <noreply@github.com>2017-08-09 19:29:16 +0200
commitd258b1df2ba74ed58b1d6f56ca31afa7dd45a570 (patch)
tree11be058760d6a170662af997776d6c444069d4bf /redhat
parentMerge branch 'stable/3.0' (diff)
parentSwitch to using syslog for logging as the default (diff)
downloadfrr-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.logrotate8
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