From: Jacob Bunk Nielsen Date: Sun, 15 Sep 2019 18:39:25 +0000 (+0200) Subject: Documentation fix. filename is mandatory in 1.3.3. X-Git-Tag: dnsdist-1.4.0-rc3~49^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6bcb7018942c2c700565205e8ba81ae106acb6f;p=pdns Documentation fix. filename is mandatory in 1.3.3. --- diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index 239f8b2a3..3084481fb 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -988,9 +988,9 @@ The following actions exist. :param KeyValueLookupKey lookupKey: The key to use for the lookup :param string destinationTag: The name of the tag to store the result into -.. function:: LogAction([filename[, binary[, append[, buffered]]]]) +.. function:: LogAction(filename[, binary[, append[, buffered]]]) - Log a line for each query, to the specified ``file`` if any, to the console (require verbose) otherwise. + Log a line for each query, to the specified ``file`` if any, to the console (require verbose) if the empty string is given as filename. When logging to a file, the ``binary`` optional parameter specifies whether we log in binary form (default) or in textual form. The ``append`` optional parameter specifies whether we open the file for appending or truncate each time (default). The ``buffered`` optional parameter specifies whether writes to the file are buffered (default) or not.