Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#989 from haoming29/logging-reminder
Browse files Browse the repository at this point in the history
Redirect logging location reminder to stderr
  • Loading branch information
joereuss12 authored Mar 29, 2024
2 parents 583b6f8 + a9de2b6 commit 63a22dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 63a22dc

Please sign in to comment.