Flush log as we go.

This commit is contained in:
Julien BLACHE 2009-10-04 12:08:46 +02:00
parent 8c77aebe82
commit 9229f3dff9

View File

@ -100,6 +100,8 @@ vlogger(int severity, int domain, char *fmt, va_list args)
va_copy(ap, args);
vfprintf(logfile, fmt, ap);
va_end(ap);
fflush(logfile);
}
if (console)