segalion
2017-07-09 07:58:02 UTC
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
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?
Anybody know if pjsua 2.6 has better log realtime writting (I have some
patches in 2.0 and I dont want to rewrite again)
And one more... what about OSX?
Thanks again for this amazing software...
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
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?
Anybody know if pjsua 2.6 has better log realtime writting (I have some
patches in 2.0 and I dont want to rewrite again)
And one more... what about OSX?
Thanks again for this amazing software...