Skip to content

Commit

Permalink
Inherit LogLevel for ProxyJump
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnywong committed Jun 8, 2024
1 parent 8980d5e commit c777ac9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions tssh/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ func loadConfig(path string, system bool) *ssh_config.Config {

func (c *tsshConfig) doLoadConfig() {
c.loadConfig.Do(func() {
ssh_config.SetDefault("LogLevel", "")
ssh_config.SetDefault("IdentityFile", "")

if c.configPath == "" {
Expand Down
2 changes: 0 additions & 2 deletions tssh/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,6 @@ func setupLogLevel(args *sshArgs) func() {
enableDebugLogging = true
envbleWarningLogging = true
case "info", "verbose":
fallthrough
default:
enableDebugLogging = false
envbleWarningLogging = true
}
Expand Down

0 comments on commit c777ac9

Please sign in to comment.