Repository navigation
|
Answered by
krotname
Jun 20, 2026
Replies: 1 comment 1 reply
|
Use repeated ssserver.exe -c config.json # default, level 0
ssserver.exe -c config.json -v # level 1 / debug for shadowsocks modules
ssserver.exe -c config.json -vv # level 2 / trace for shadowsocks modules
ssserver.exe -c config.json -vvv # more verbose traceThe code defines it as
If you prefer config file syntax, the same setting is: {
"log": {
"level": 1
}
}So the equivalent of your attempted |
1 reply
Answer selected by
GF-Huang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-vdoes not take a value in this CLI. It is a counter flag, so Clap parses extra words likeDEBUG,INFO,1as unexpected positional arguments.Use repeated
vflags instead:The code defines it as
ArgAction::Count, and the logger maps the count roughly like this:0: normal/info for shadowsocks modules1: debug2: trace3+: very broad traceIf you prefer config file syntax, the same setting is:
{ "log": { "level": 1 } }S…