From 250a7c03ef7e59be7c5eb23ea3d4a454f7378000 Mon Sep 17 00:00:00 2001 From: postscriptum Date: Sun, 22 Mar 2026 13:32:59 +0200 Subject: [PATCH] update RUST_LOG examples --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9687047..fb56872 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https:// ## Usage ``` bash -RUST_LOG=psocks=trace cargo run -- -a=http://localhost/allow.txt \ - -a=/path/to/allow.txt \ - -c=/path/to/cache.txt \ - no-auth +RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \ + -a=/path/to/allow.txt \ + -c=/path/to/cache.txt \ + no-auth ``` * set `socks5://127.0.0.1:1080` proxy in your application * open http://127.0.0.1:8010 in browser for global stats: @@ -71,7 +71,7 @@ ExecStart=/usr/local/bin/psocks \ Restart=always -Environment="RUST_LOG=warn" +Environment="RUST_LOG=psocks=warn" Environment="NO_COLOR=1" StandardOutput=file:///var/log/psocks/debug.log