]> granicus.if.org Git - pdns/commitdiff
Documentation fix. filename is mandatory in 1.3.3.
authorJacob Bunk Nielsen <jacob@bunk.cc>
Sun, 15 Sep 2019 18:39:25 +0000 (20:39 +0200)
committerJacob Bunk Nielsen <jacob@bunk.cc>
Sun, 15 Sep 2019 18:39:25 +0000 (20:39 +0200)
pdns/dnsdistdist/docs/rules-actions.rst

index 239f8b2a3f866e5ab72caa37348624837742a0d1..3084481fb620375686d9ef3e7adb49bc295b7d2f 100644 (file)
@@ -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.