Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
virtcontainers: Make proxy startup sequence less noisy
Browse files Browse the repository at this point in the history
We only want to know which proxy started when debugging.

Fixes: #1211

Signed-off-by: Samuel Ortiz <[email protected]>
  • Loading branch information
Samuel Ortiz committed Feb 5, 2019
1 parent f0312f6 commit a3eff87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion virtcontainers/cc_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (p *ccProxy) start(params proxyParams) (int, string, error) {
return -1, "", err
}

params.logger.Info("Starting cc proxy")
params.logger.Debug("Starting cc proxy")

// construct the socket path the proxy instance will use
proxyURL, err := defaultProxyURL(params.id, SocketTypeUNIX)
Expand Down
2 changes: 1 addition & 1 deletion virtcontainers/kata_builtin_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (p *kataBuiltInProxy) start(params proxyParams) (int, string, error) {
return -1, "", fmt.Errorf("kata builtin proxy running for sandbox %s", params.id)
}

params.logger.Info("Starting builtin kata proxy")
params.logger.Debug("Starting builtin kata proxy")

p.sandboxID = params.id
err := p.watchConsole(buildinProxyConsoleProto, params.consoleURL, params.logger)
Expand Down
2 changes: 1 addition & 1 deletion virtcontainers/kata_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (p *kataProxy) start(params proxyParams) (int, string, error) {
return -1, "", err
}

params.logger.Info("Starting regular Kata proxy rather than built-in")
params.logger.Debug("Starting regular Kata proxy rather than built-in")

// construct the socket path the proxy instance will use
proxyURL, err := defaultProxyURL(params.id, SocketTypeUNIX)
Expand Down
2 changes: 1 addition & 1 deletion virtcontainers/no_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (p *noProxy) start(params proxyParams) (int, string, error) {
return -1, "", fmt.Errorf("proxy logger is not set")
}

params.logger.Info("No proxy started because of no-proxy implementation")
params.logger.Debug("No proxy started because of no-proxy implementation")

if params.agentURL == "" {
return -1, "", fmt.Errorf("AgentURL cannot be empty")
Expand Down

0 comments on commit a3eff87

Please sign in to comment.