diff --git a/logging.c b/logging.c index da502c86..f07982ac 100644 --- a/logging.c +++ b/logging.c @@ -153,6 +153,7 @@ static void logfopen_callback(void *vctx, int mode) logwrite(ctx, data, len); bufchain_consume(&ctx->queue, len); } + logflush(ctx); } /*