feat: debug options
This commit is contained in:
33 files changed
+965
-77
No files matched your search
@@ -120,16 +120,11 @@ in
|
||||
default = true;
|
||||
description = ''
|
||||
Log each counted failure and strategy switch to the journal, per site
|
||||
(`proxy-ctl logs proxy-suite-zapret`). Without it nfqws2 logs them only with `debug`.
|
||||
(`proxy-ctl logs proxy-suite-zapret`). Without it nfqws2 logs them only with
|
||||
`debug.zapret2.packets`.
|
||||
'';
|
||||
};
|
||||
|
||||
debug = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Log everything nfqws2 does to the journal, every packet included. Very verbose: for troubleshooting.";
|
||||
};
|
||||
|
||||
ipv6 = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
@@ -160,12 +155,6 @@ in
|
||||
udpOut = int 4 "UDP packets sent, with at most `udpIn` replies, that count as a failure.";
|
||||
udpIn = int 1 "Most UDP replies that still count as no answer (see `udpOut`).";
|
||||
|
||||
debugLog = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Log why sites are or are not learned (nfqws2's own learner).";
|
||||
};
|
||||
|
||||
extendedDetection = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
|
||||
Reference in new issue
Block a user