I am trying pjsua 2.0 in linux (ubuntu 64 LTS) and I am experienced that the writing of log file is highly buffered. I need to detect events in real time from log, and due to this, I have delays for more than 10 seconds and even uncompleted lines ...
making a "tail -f logfile" can show this easily
making a "tail -f logfile" can show this easily
In windows the log events are written inmediatly so I can use realtime events from log files-
Anybody can help me with this? Are there some config parameter in headers (may be something like PJ_LOG_USE_STACK_BUFFER) to chage this behaviour in linux?And one more... what about OSX?
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org