The only_failed argument has been added to the log-queries parameter.

This may be useful for embedded systems for example:
log-queries without only_failed places a heavy load on the
NAND flash memory. At the same time, logging requests
is necessary to troubleshoot network issues.
This commit is contained in:
Pavel Bozhko authored and Simon Kelley committed 2026-01-16 15:33:59 +00:00
1 parent 1269f074f8
commit 8fa68a6e1e
4 files changed
+18 -1

No files matched your search

+2
View File
@@ -3463,6 +3463,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
}
else if (strcmp(arg, "auth") == 0)
set_option_bool(OPT_AUTH_LOG);
else if (strcmp(arg, "only_failed") == 0)
set_option_bool(OPT_LOG_ONLY_FAILED);
}
break;