aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlogger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/logger.c b/logger.c
index 09dbef2ce..a4f2bd355 100755
--- a/logger.c
+++ b/logger.c
@@ -474,6 +474,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
fprintf(chan->fileptr, buf);
+ fflush(chan->fileptr);
}
chan = chan->next;
}