diff --git a/logger.c b/logger.c index 09dbef2ce5..a4f2bd3551 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; }