mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: add file logger to coder ssh (#7646)
* coder ssh can log to file Signed-off-by: Spike Curtis <spike@coder.com> * Update golden file Signed-off-by: Spike Curtis <spike@coder.com> * generate CLI docs Signed-off-by: Spike Curtis <spike@coder.com> * Fix imports, typo Signed-off-by: Spike Curtis <spike@coder.com> * log more things! Signed-off-by: Spike Curtis <spike@coder.com> --------- Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
6
cli/testdata/coder_ssh_--help.golden
vendored
6
cli/testdata/coder_ssh_--help.golden
vendored
@ -18,6 +18,12 @@ Start a shell into a workspace
|
||||
Specifies which identity agent to use (overrides $SSH_AUTH_SOCK),
|
||||
forward agent must also be enabled.
|
||||
|
||||
--log-dir string, $CODER_SSH_LOG_DIR (default: /tmp)
|
||||
Specify the location for the log files.
|
||||
|
||||
-l, --log-to-file bool, $CODER_SSH_LOG_TO_FILE
|
||||
Enable diagnostic logging to file.
|
||||
|
||||
--no-wait bool, $CODER_SSH_NO_WAIT
|
||||
Specifies whether to wait for a workspace to become ready before
|
||||
logging in (only applicable when the login before ready option has not
|
||||
|
Reference in New Issue
Block a user