mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-24 20:09:15 -05:00
Flush log as we go.
This commit is contained in:
parent
8c77aebe82
commit
9229f3dff9
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user