mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
- contrib/validation-reporter follows rotated log file (patch from
Augie Schwer). git-svn-id: file:///svn/unbound/trunk@2650 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
eb926f15da
commit
bafc5741ba
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue