Skip to content
New issue

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

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

Already on GitHub? # to your account

Print out service name instead of hash in log #382

Open
Abdillah opened this issue Aug 4, 2024 · 0 comments
Open

Print out service name instead of hash in log #382

Abdillah opened this issue Aug 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Abdillah
Copy link

Abdillah commented Aug 4, 2024

Feature Proposed

Currently, when rathole encounter problematic connection with a client (or service), it prints only the hash. This makes very cumbersome to know what's wrong.

2024-08-04T03:33:44.133348Z ERROR connection{addr=19.21.31.21:43302}: rathole::server: No such a service 636396f02b6571e40d8fe91cba550515c0cdc0e7d314c210e00b02256375a796
2024-08-04T03:33:45.244408Z  INFO connection{addr=19.21.31.21:43318}: rathole::server: Try to handshake a control channel
2024-08-04T03:33:45.244613Z ERROR connection{addr=19.21.31.21:43318}: rathole::server: No such a service 636396f02b6571e40d8fe91cba550515c0cdc0e7d314c210e00b02256375a796
2024-08-04T03:33:46.133706Z  INFO connection{addr=19.21.31.21:43322}: rathole::server: Try to handshake a control channel
2024-08-04T03:33:46.133835Z ERROR connection{addr=19.21.31.21:43322}: rathole::server: No such a service 636396f02b6571e40d8fe91cba550515c0cdc0e7d314c210e00b02256375a796
2024-08-04T03:33:47.303882Z  INFO connection{addr=19.21.31.21:45388}: rathole::server: Try to handshake a control channel

Use Case

In above case, I don't know which service is wrong, so I ignore it. But, I actually has unstable connection. So, I can't do anything.

@Abdillah Abdillah added the enhancement New feature or request label Aug 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant