diff options
author | Martin Pycko <martinp@digium.com> | 2004-02-03 16:43:07 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2004-02-03 16:43:07 +0000 |
commit | 9bd6034f9b8c4e498b3d3ebc8a7373cc711198d1 (patch) | |
tree | 612379ed9eccffaf76f76d6af7bcbbbb23ee71b1 /logger.c | |
parent | 694058ccb129e912686fba6e0cbad3a9105d34f8 (diff) |
Don't buffer the event files, eg: messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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; } |