1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-06-01 17:21:10 +00:00

Always log server messages to stderr

So that you can just direct stdout to a file to get the request log.
This commit is contained in:
Drew DeVault 2020-09-26 13:40:20 -04:00
parent ce467cebd3
commit 264c3b4602

View File

@ -31,7 +31,7 @@ server_log(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
server_logf(stdout, fmt, ap);
server_logf(stderr, fmt, ap);
va_end(ap);
}