Skip to content

feat: add file logger to coder ssh#7646

Merged
spikecurtis merged 5 commits into
mainfrom
spike/7644-ssh-logging
May 25, 2023
Merged

feat: add file logger to coder ssh#7646
spikecurtis merged 5 commits into
mainfrom
spike/7644-ssh-logging

Conversation

@spikecurtis
Copy link
Copy Markdown
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>
Comment thread cli/ssh.go Outdated
Comment thread cli/ssh.go
Comment thread cli/ssh.go
Comment thread cli/ssh.go Outdated
Comment thread cli/ssh_test.go
@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