From cb12babc4698d048478570303af8955a35e8531d Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Fri, 7 Feb 2020 17:08:39 +0300 Subject: [PATCH] *: lower log level for some commands --- home/control_install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/control_install.go b/home/control_install.go index 18fe2a8b..45cf0c7c 100644 --- a/home/control_install.go +++ b/home/control_install.go @@ -178,7 +178,7 @@ func checkDNSStubListener() bool { log.Tracef("executing %s %v", cmd.Path, cmd.Args) _, err := cmd.Output() if err != nil || cmd.ProcessState.ExitCode() != 0 { - log.Error("command %s has failed: %v code:%d", + log.Info("command %s has failed: %v code:%d", cmd.Path, err, cmd.ProcessState.ExitCode()) return false } @@ -187,7 +187,7 @@ func checkDNSStubListener() bool { log.Tracef("executing %s %v", cmd.Path, cmd.Args) _, err = cmd.Output() if err != nil || cmd.ProcessState.ExitCode() != 0 { - log.Error("command %s has failed: %v code:%d", + log.Info("command %s has failed: %v code:%d", cmd.Path, err, cmd.ProcessState.ExitCode()) return false }