update RUST_LOG examples

This commit is contained in:
postscriptum 2026-03-22 13:32:59 +02:00
parent ed2b91b75a
commit 250a7c03ef

View file

@ -14,7 +14,7 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https://
## Usage ## Usage
``` bash ``` bash
RUST_LOG=psocks=trace cargo run -- -a=http://localhost/allow.txt \ RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \
-a=/path/to/allow.txt \ -a=/path/to/allow.txt \
-c=/path/to/cache.txt \ -c=/path/to/cache.txt \
no-auth no-auth
@ -71,7 +71,7 @@ ExecStart=/usr/local/bin/psocks \
Restart=always Restart=always
Environment="RUST_LOG=warn" Environment="RUST_LOG=psocks=warn"
Environment="NO_COLOR=1" Environment="NO_COLOR=1"
StandardOutput=file:///var/log/psocks/debug.log StandardOutput=file:///var/log/psocks/debug.log