diff --git a/config/config.go b/config/config.go index 9dfde10c6..307f70d1a 100644 --- a/config/config.go +++ b/config/config.go @@ -723,7 +723,7 @@ func InitConfig() { log.Errorf("Failed to access specified log file. Error: %v", err) os.Exit(1) } - fmt.Printf("Logging.LogLocation is set to %s. All logs are redirected to the log file.\n", logLocation) + fmt.Fprintf(os.Stderr, "Logging.LogLocation is set to %s. All logs are redirected to the log file.\n", logLocation) log.SetOutput(f) }