Skip to content

feat: add file logger to coder ssh #7646

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

Merged
merged 5 commits into from
May 25, 2023
Merged

feat: add file logger to coder ssh #7646

merged 5 commits into from
May 25, 2023

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented May 23, 2023

Fixes #7644

also slightly refactors ssh.go to pull out a closure and convert to a regular function. gocyclo linter was complaining about complexity in the main CLI handler, and that was the deepest-nested culprit.

Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis requested a review from a team May 23, 2023 10:54
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
@mtojek mtojek self-requested a review May 23, 2023 11:26
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis enabled auto-merge (squash) May 25, 2023 04:58
@spikecurtis spikecurtis merged commit 6a1e7ee into main May 25, 2023
@spikecurtis spikecurtis deleted the spike/7644-ssh-logging branch May 25, 2023 05:07
@github-actions github-actions bot locked and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add logging option to coder ssh
2 participants