Commit 047a1726 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Use log-level set to info, but also make `Checking for builds: nothing` being print as debug

parent 40230a01
......@@ -175,7 +175,7 @@ func GetBuild(config RunnerConfig) (*GetBuildResponse, bool) {
log.Errorln(config.ShortDescription(), "Checking for builds...", "forbidden")
return nil, false
case 404:
log.Infoln(config.ShortDescription(), "Checking for builds...", "nothing")
log.Debugln(config.ShortDescription(), "Checking for builds...", "nothing")
return nil, true
default:
log.Warningln(config.ShortDescription(), "Checking for builds...", "failed")
......
......@@ -33,7 +33,7 @@ func main() {
},
cli.StringFlag{
Name: "log-level, l",
Value: "warn",
Value: "info",
Usage: "Log level (options: debug, info, warn, error, fatal, panic)",
},
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment