mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 14:09:51 -05:00
Flush log as we go.
This commit is contained in:
@@ -100,6 +100,8 @@ vlogger(int severity, int domain, char *fmt, va_list args)
|
|||||||
va_copy(ap, args);
|
va_copy(ap, args);
|
||||||
vfprintf(logfile, fmt, ap);
|
vfprintf(logfile, fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
|
fflush(logfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (console)
|
if (console)
|
||||||
|
|||||||
Reference in New Issue
Block a user