Closed pexcn closed 1 year ago
启动参数
ssserver \ --server-addr 0.0.0.0:443 \ --password password \ --encrypt-method chacha20-ietf-poly1305 \ --timeout 3600 \ --udp-timeout 300 \ --udp-max-associations 1024 \ --nofile 1048576 \ --tcp-keep-alive 300 \ --tcp-fast-open \ --tcp-no-delay \ -U \ --plugin "xray-plugin" \ --plugin-opts "server;tls;fast-open;host=example.com;loglevel=warning;path=/ws"
虽然设置了 loglevel=warning, 但是仍然在日志里见到有大量这样的输出
loglevel=warning
2022/01/19 17:17:24 tcp:xx.xx.xx.xx:3958 accepted tcp:127.0.0.1:0 2022/01/19 17:17:27 tcp:xx.xx.xx.xx:3958 accepted tcp:127.0.0.1:0 2022/01/19 17:17:32 tcp:xx.xx.xx.xx:3958 accepted tcp:127.0.0.1:0 2022/01/19 17:17:32 tcp:xx.xx.xx.xx:3958 accepted tcp:127.0.0.1:0 2022/01/19 17:17:36 tcp:xx.xx.xx.xx:3958 accepted tcp:127.0.0.1:0 2022/01/19 17:17:43 tcp:xx.xx.xx.xx:3959 accepted tcp:127.0.0.1:0 2022/01/19 17:17:45 tcp:xx.xx.xx.xx:3959 accepted tcp:127.0.0.1:0 2022/01/19 17:17:50 tcp:xx.xx.xx.xx:3959 accepted tcp:127.0.0.1:0 2022/01/19 17:17:51 tcp:xx.xx.xx.xx:3959 accepted tcp:127.0.0.1:0 2022/01/19 17:17:52 tcp:xx.xx.xx.xx:3959 accepted tcp:127.0.0.1:0 2022/01/19 17:17:57 tcp:xx.xx.xx.xx:3960 accepted tcp:127.0.0.1:0 2022/01/19 17:17:59 tcp:xx.xx.xx.xx:3960 accepted tcp:127.0.0.1:0
logLevel = flag.String("loglevel", "", "loglevel for xray: debug, info, warning (default), error, none.")
loglevel default is warning
启动参数
虽然设置了
loglevel=warning
, 但是仍然在日志里见到有大量这样的输出