]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- contrib/validation-reporter follows rotated log file (patch from
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 22 Mar 2012 09:45:27 +0000 (09:45 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 22 Mar 2012 09:45:27 +0000 (09:45 +0000)
  Augie Schwer).

git-svn-id: file:///svn/unbound/trunk@2650 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/validation-reporter.sh
doc/Changelog

index cf95c785f9cd3b040497bd943d649dede76be108..7c1a4218bd148453673ecf818d7a6c8bc1d35adb 100755 (executable)
@@ -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
index bf0368ed708deb69c59468f520aee4c5cadc2532..1d683fb70cf931d3b33ad59ac19c84e475d719ed 100644 (file)
@@ -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.