aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-03 16:43:07 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-03 16:43:07 +0000
commit30674920f6b94533e355a87eaf823cf14bcba9ef (patch)
tree612379ed9eccffaf76f76d6af7bcbbbb23ee71b1 /logger.c
parentaca3f2abd331b195d064ce37a8c1669944206920 (diff)
Don't buffer the event files, eg: messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2120 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'logger.c')
-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;
}