From: Tomas Krizek Date: Fri, 26 Mar 2021 13:14:01 +0000 (+0100) Subject: doc: mention DEBUG_* policies for debugging requests X-Git-Tag: v5.4.0~18^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f57fb0ac665eea9373efe72b966f291eb5e9432;p=thirdparty%2Fknot-resolver.git doc: mention DEBUG_* policies for debugging requests --- diff --git a/modules/http/trace.rst b/modules/http/trace.rst index e77142f59..4fb60a3e0 100644 --- a/modules/http/trace.rst +++ b/modules/http/trace.rst @@ -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 ` provides ``/trace`` endpoint which allows to trace various aspects of the request execution. The basic mode allows you to resolve a query