When logging to stdout/stderr, flush after each log.
MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
This commit is contained in:
parent
b9cf0cf5fa
commit
4767ee29f1
@ -217,6 +217,7 @@ pjdlogv_common(int loglevel, int debuglevel, int error, const char *fmt,
|
|||||||
if (error != -1)
|
if (error != -1)
|
||||||
fprintf(out, ": %s.", strerror(error));
|
fprintf(out, ": %s.", strerror(error));
|
||||||
fprintf(out, "\n");
|
fprintf(out, "\n");
|
||||||
|
fflush(out);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PJDLOG_MODE_SYSLOG:
|
case PJDLOG_MODE_SYSLOG:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user