From dbf3c5c767b5cbe1e0f555381ebd8d6819b753d3 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Tue, 20 Oct 2020 07:17:27 +0000 Subject: [PATCH] when debugging flush to get messages out timely... --- shared/ggate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/ggate.c b/shared/ggate.c index 9911a49..eef8f27 100644 --- a/shared/ggate.c +++ b/shared/ggate.c @@ -93,6 +93,7 @@ g_gate_vlog(int priority, const char *message, va_list ap) printf("%s: ", prefix); vprintf(message, ap); printf("\n"); + fflush(stdout); } else { if (priority != LOG_DEBUG) vsyslog(priority, message, ap);