[master] dnstap size and versions options

4572.	[func]		The "dnstap-output" option can now take "size" and
			"versions" parameters to indicate the maximum size
			a dnstap log file can grow before rolling to a new
			file, and how many old files to retain. [RT #44502]
This commit is contained in:
Evan Hunt
2017-02-06 16:03:37 -08:00
parent 5b4d6d2ff8
commit c4e4bd6a09
12 changed files with 192 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ if [ -n "$PYTHON" ] ; then
$PYTHON -c "import yaml" && HAS_PYYAML=1
fi
if [ $HAS_PYYAML ] ; then
if [ $HAS_PYYAML -ne 0 ] ; then
echo "I:checking dnstap-read YAML output"
ret=0
$PYTHON ydump.py "$DNSTAPREAD" "ns3/dnstap.out.save" > /dev/null || ret=1