diff --git a/plugins/common/io.go b/plugins/common/io.go index 46b8a3ae7..acf57ad15 100644 --- a/plugins/common/io.go +++ b/plugins/common/io.go @@ -15,12 +15,12 @@ import ( func CatFile(filename string) { slice, err := FileToSlice(filename) if err != nil { - LogWarn(fmt.Sprintf("Error cat'ing file %s: %s", filename, err.Error())) + LogDebug(fmt.Sprintf("Error cat'ing file %s: %s", filename, err.Error())) return } for _, line := range slice { - LogWarn(fmt.Sprintf("line: '%s'", line)) + LogDebug(fmt.Sprintf("line: '%s'", line)) } } diff --git a/plugins/ps/functions.go b/plugins/ps/functions.go index e4f9e5bf9..2e9b1d484 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -100,19 +100,14 @@ func getRunningState(appName string) string { func hasProcfile(appName string) bool { procfilePath := getProcfilePath(appName) - common.LogWarn("Checking if missing Procfile") if common.FileExists(fmt.Sprintf("%s.%s.missing", procfilePath, os.Getenv("DOKKU_PID"))) { - common.LogWarn("Procfile is missing") return false } - common.LogWarn("Checking for process-specific Procfile") if common.FileExists(fmt.Sprintf("%s.%s", procfilePath, os.Getenv("DOKKU_PID"))) { - common.LogWarn("Process-specific Procfile exists") return true } - common.LogWarn("Checking for default Procfile") return common.FileExists(procfilePath) }