[FR] Setting for tun2socks loglevel

#82 · closed · 5 comments

View on GitHub ↗

paratroop3r

Hello! Is it possible to add setting for changing loglevel of tun2socks component? Logs (in left menu) are flooded with [info] data, so difficult to debug config and monitor errors.

Comments

SaeedDev94

Do you mean Xray-core logs, right? The app doesn't show any logs for tun2socks! You can control logs in the json config: https://xtls.github.io/en/config/log.html

paratroop3r

No, I mean these information in log. In json I have loglevel = error. But look at my picture. So much data with "info" meaning. ![Image](https://github.com/user-attachments/assets/8703360b-308a-455e-9645-630bfaaf965a)

SaeedDev94

What's wrong with these logs ? It's the standard Xray-core logs output, what do you expect ?!

paratroop3r

Ok. I thought, if i set loglevel = error, then in log I have only errors.

paratroop3r

Ok, my mistake. Found the problem. Sorry ☹