mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Don't buffer the event files, eg: messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1
logger.c
1
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);
|
vsnprintf(buf, sizeof(buf), fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
fprintf(chan->fileptr, buf);
|
fprintf(chan->fileptr, buf);
|
||||||
|
fflush(chan->fileptr);
|
||||||
}
|
}
|
||||||
chan = chan->next;
|
chan = chan->next;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user