jpillora / jpillora/chisel

proxy tunnel logger

Open
#278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hey, I found out a problem I have I can't change the logger values of the proxy tun (the one forked when creating a new chisel).
https://github.com/jpillora/chisel/blob/92d90be68a989377daf61294ef7458612d10da8c/share/tunnel/tunnel.go#L52
https://github.com/jpillora/chisel/blob/92d90be68a989377daf61294ef7458612d10da8c/client/client.go#L178,
since there's no way in the config (and its defaulted to info+debug) to let the client know I don't want it to log Info\Debug messages I have no way to specify to the tunnel I don't want it to log Info\Debug messages.

I'm talking about these lines
photo_2021-05-18_16-38-56

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with share/tunnel/tunnel.go at the linked logger setup and client/client.go around line 178, then trace how the client creates the proxy tunnel. Determine how logger verbosity is currently defaulted and define a configurable way for the client to suppress Info and Debug messages; done means the client can control those messages without affecting required tunnel behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.