Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: do not log handling connection when verbose logging is not enabled #147

Open
erfanium opened this issue May 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@erfanium
Copy link

erfanium commented May 31, 2024

May 31 17:20:47 tuf warp-plus[1438]: time=2024-05-31T17:20:47.475+03:30 level=INFO msg="handling connection" gool=inner subsystem=vtun protocol=tcp destination=kinesis.us-east-1.amazonaws.com:443
May 31 17:20:47 tuf warp-plus[1438]: time=2024-05-31T17:20:47.924+03:30 level=INFO msg="handling connection" gool=inner subsystem=vtun protocol=tcp destination=beacons.gcp.gvt2.com:443
May 31 17:20:48 tuf warp-plus[1438]: time=2024-05-31T17:20:48.703+03:30 level=INFO msg="handling connection" gool=inner subsystem=vtun protocol=tcp destination=google.com:443

these info logs are spam and not necessary. I recommend to only log these lines only if --verbose flag has been provided by user.

It's also okay for me to change the logging level by providing a --log-level flag

@markpash
Copy link
Member

Good point, I'll move this into verbose.

@markpash markpash added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants