kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 00ef837d6247ecde831f549bcd6ef5d421b091b8
parent 06991d22d5ec1b67e2f9f526366fc473d05abe13
Author: Joris Vink <joris@coders.se>
Date:   Mon,  6 Sep 2021 14:15:53 +0200

call explicit fflush() on stdout

Diffstat:
src/log.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/log.c b/src/log.c @@ -106,6 +106,7 @@ log_from_worker(struct kore_msg *msg, const void *data) if (kore_foreground) { printf("%s: %.*s\n", name, (int)wlog->loglen, wlog->logmsg); + fflush(stdout); } else { syslog(wlog->prio, "%s: %.*s", name, (int)wlog->loglen, wlog->logmsg);