From: Wouter Wijngaards Date: Thu, 22 Mar 2012 09:45:27 +0000 (+0000) Subject: - contrib/validation-reporter follows rotated log file (patch from X-Git-Tag: release-1.4.17rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafc5741bac5c97264ad6eb039bb451f4e28d374;p=thirdparty%2Funbound.git - contrib/validation-reporter follows rotated log file (patch from Augie Schwer). git-svn-id: file:///svn/unbound/trunk@2650 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/contrib/validation-reporter.sh b/contrib/validation-reporter.sh index cf95c785f..7c1a4218b 100755 --- a/contrib/validation-reporter.sh +++ b/contrib/validation-reporter.sh @@ -27,7 +27,7 @@ notify_cmd="nc localhost 1234" # first the daemon itself, then the controller for the daemon. reporter_daemon() { trap "rm -f \"$pidfile\"" EXIT - tail -f $logfile | grep --line-buffered "unbound.*info: validation failure" | \ + tail -F $logfile | grep --line-buffered "unbound.*info: validation failure" | \ while read x; do echo "$x" | $notify_cmd done diff --git a/doc/Changelog b/doc/Changelog index bf0368ed7..1d683fb70 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +22 March 2012: Wouter + - contrib/validation-reporter follows rotated log file (patch from + Augie Schwer). + 21 March 2012: Wouter - new approach to NS fetches for DS lookup that works with cornercases, and is more robust and considers forwarders.