Skip to content

Commit

Permalink
Add Debug log level message for proxy template loading (#43164)
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet authored Jun 18, 2024
1 parent 899f12a commit 48d0fcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/tbot/service_ssh_multiplexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,18 @@ func (s *SSHMultiplexerService) setup(ctx context.Context) (
if err != nil {
return nil, nil, "", nil, trace.Wrap(err, "loading proxy templates")
}
for _, t := range tshConfig.ProxyTemplates {
s.log.DebugContext(
ctx,
"Loaded proxy template",
"template", t.Template,
"proxy", t.Proxy,
"host", t.Host,
"cluster", t.Cluster,
"query", t.Query,
"search", t.Search,
)
}
}

// Generate our initial identity and write the artifacts to the destination.
Expand Down

0 comments on commit 48d0fcb

Please sign in to comment.