*: lower log level for some commands
This commit is contained in:
parent
d9001ff848
commit
cb12babc46
|
@ -178,7 +178,7 @@ func checkDNSStubListener() bool {
|
||||||
log.Tracef("executing %s %v", cmd.Path, cmd.Args)
|
log.Tracef("executing %s %v", cmd.Path, cmd.Args)
|
||||||
_, err := cmd.Output()
|
_, err := cmd.Output()
|
||||||
if err != nil || cmd.ProcessState.ExitCode() != 0 {
|
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())
|
cmd.Path, err, cmd.ProcessState.ExitCode())
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -187,7 +187,7 @@ func checkDNSStubListener() bool {
|
||||||
log.Tracef("executing %s %v", cmd.Path, cmd.Args)
|
log.Tracef("executing %s %v", cmd.Path, cmd.Args)
|
||||||
_, err = cmd.Output()
|
_, err = cmd.Output()
|
||||||
if err != nil || cmd.ProcessState.ExitCode() != 0 {
|
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())
|
cmd.Path, err, cmd.ProcessState.ExitCode())
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue