From bafc5741bac5c97264ad6eb039bb451f4e28d374 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 22 Mar 2012 09:45:27 +0000 Subject: [PATCH] - contrib/validation-reporter follows rotated log file (patch from Augie Schwer). git-svn-id: file:///svn/unbound/trunk@2650 be551aaa-1e26-0410-a405-d3ace91eadb9 --- contrib/validation-reporter.sh | 2 +- doc/Changelog | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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.