From 9bd6034f9b8c4e498b3d3ebc8a7373cc711198d1 Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Tue, 3 Feb 2004 16:43:07 +0000 Subject: Don't buffer the event files, eg: messages git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2120 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- logger.c | 1 + 1 file changed, 1 insertion(+) (limited to 'logger.c') 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; } -- cgit v1.2.3