The logfile output is buffered in the OS and is written when pjsua quits. When enough information is written to logfile it will get written to disk, so if you increase the log level or make additional calls you should see data written to the logfile while pjsua is running. Bill On 10/18/2014 3:37 AM, Fatemeh Mehdizadeh wrote: > Hello, > > I install pjsua on two qemues for my voice tests(q1 call q2). I need > log file so in config file I add --log-file log.txt and --log-level 3. > But I must type "q" to quit from pjsua and then log file create. > > *my config file is:* > --id sip:**@***** > --registrar sip:*** > --realm **** > --username ** > --auto-answer 200 > --duration 20 > --null-audio > --log-file log.txt > --log-level 3 > > I do not care that get out of the pjsus, I just need the log file. > > Is that any way to create log file without quiting from pjsua? > *or* > Is that any way except writing code to quit from pjsua after some seconds? > Thanks > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141018/329fd864/attachment.html>