]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: mention DEBUG_* policies for debugging requests
authorTomas Krizek <tomas.krizek@nic.cz>
Fri, 26 Mar 2021 13:14:01 +0000 (14:14 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 25 May 2021 12:39:44 +0000 (14:39 +0200)
modules/http/trace.rst

index e77142f59ebecb8a327729ec4f8113d76d8f58a0..4fb60a3e0e1173ed53ccd0ae7af3c56bf77e7545 100644 (file)
@@ -5,8 +5,16 @@
 Debugging a single request
 ==========================
 
-.. tip:: Policies :data:`policy.DEBUG_CACHE_MISS` and :func:`policy.DEBUG_IF` can also be used to
-         debug specific requests.
+Using query policies
+--------------------
+
+Query policies :any:`policy.DEBUG_ALWAYS`, :any:`policy.DEBUG_CACHE_MISS` or
+:any:`policy.DEBUG_IF` can be used to enable verbose logging for selected
+subdomains or queries matching specific conditions. Please refer to their
+documentation for usage.
+
+Using HTTP module
+-----------------
 
 The :ref:`http module <mod-http>` provides ``/trace`` endpoint which allows to trace various
 aspects of the request execution. The basic mode allows you to resolve a query