mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Fix debug.api config options description.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+1
-1
@@ -1196,7 +1196,7 @@ void initConfig(struct config *conf)
|
||||
conf->debug.regex.d.b = false;
|
||||
|
||||
conf->debug.api.k = "debug.api";
|
||||
conf->debug.api.h = "Print extra debugging information during telnet API calls. Currently only used to send extra information when getting all queries.";
|
||||
conf->debug.api.h = "Print extra debugging information concerning API calls. This includes the request, the request parameters, and the internal details about how the algorithms decide which data to present and in what form. This very verbose output should only be used when debugging specific API issues and can be helpful, e.g., when a client cannot connect due to an obscure API error. Furthermore, this setting enables logging of all API requests (auth log) and details about user authentication attempts.";
|
||||
conf->debug.api.t = CONF_BOOL;
|
||||
conf->debug.api.f = FLAG_ADVANCED_SETTING;
|
||||
conf->debug.api.d.b = false;
|
||||
|
||||
@@ -80,7 +80,6 @@ static int redirect_root_handler(struct mg_connection *conn, void *input)
|
||||
if(config.debug.api.v.b)
|
||||
{
|
||||
log_debug(DEBUG_API, "Host header: \"%s\", extracted host: \"%.*s\"", host, (int)host_len, host);
|
||||
|
||||
log_debug(DEBUG_API, "URI: %s", uri);
|
||||
}
|
||||
|
||||
|
||||
+6
-2
@@ -915,8 +915,12 @@
|
||||
# Controls if FTLDNS should print extended details about regex matching into FTL.log.
|
||||
regex = true ### CHANGED, default = false
|
||||
|
||||
# Print extra debugging information during telnet API calls. Currently only used to
|
||||
# send extra information when getting all queries.
|
||||
# Print extra debugging information concerning API calls. This includes the request,
|
||||
# the request parameters, and the internal details about how the algorithms decide
|
||||
# which data to present and in what form. This very verbose output should only be used
|
||||
# when debugging specific API issues and can be helpful, e.g., when a client cannot
|
||||
# connect due to an obscure API error. Furthermore, this setting enables logging of
|
||||
# all API requests (auth log) and details about user authentication attempts.
|
||||
api = true ### CHANGED, default = false
|
||||
|
||||
# Print extra debugging information about TLS connections. This includes the TLS
|
||||
|
||||
Reference in New Issue
Block a user