Skip to content

Commit

Permalink
Really send the logs to stderr in foreground mode
Browse files Browse the repository at this point in the history
Because the docs say so.
  • Loading branch information
szpajder committed Oct 18, 2021
1 parent 4f855c8 commit 466dc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void log(int priority, const char *format, ...) {
if(do_syslog)
vsyslog(priority, format, args);
else if(foreground)
vprintf(format, args);
vfprintf(stderr, format, args);
va_end(args);
}

Expand Down

0 comments on commit 466dc4b

Please sign in to comment.