diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-03 16:43:07 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-03 16:43:07 +0000 |
commit | 30674920f6b94533e355a87eaf823cf14bcba9ef (patch) | |
tree | 612379ed9eccffaf76f76d6af7bcbbbb23ee71b1 /logger.c | |
parent | aca3f2abd331b195d064ce37a8c1669944206920 (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-x | logger.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |