virtcontainers: Make proxy startup sequence less noisy

We only want to know which proxy started when debugging.

Fixes: #1211

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2019-02-05 12:23:07 +01:00
parent f0312f607b
commit a3eff87e80
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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")