how to disable buffering in pjsua log file in linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...


 
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux