pjsua python and logging

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

 



Hi,

http://www.pjsip.org/pjlib/docs/html/group__PJ__LOG.htm

Regards,
R. Savchenko


2013/12/22 Denis Khabarov <saymon at hub21.ru>

> Hi. How can I avoid the extra debugging information that arises after
> initializing the library? For example:
>
> import pjsua as pj
> def main():
>         lib = pj.Lib()
>         print('After pj.Lib()')
>
> if __name__ == "__main__":
>         main()
>
> Output:
> $ python ./test.py
> 20:10:42.935 os_core_unix.c !pjlib 2.1-svn for POSIX initialized
> 20:10:42.935 sip_endpoint.c  .Creating endpoint instance...
> 20:10:42.935          pjlib  .select() I/O Queue created (0x8ad6c40)
> 20:10:42.935 sip_endpoint.c  .Module "mod-msg-print" registered
> 20:10:42.935 sip_transport.  .Transport manager created.
> 20:10:42.935   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
> After pj.Lib()
>
> PS. Sorry for my bad English.
> Thx.
>
> --
> ? ?????????, ?????.
> Hub21.ru - http://blogs.hub21.ru
>
> _______________________________________________
> 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/20131223/a872843a/attachment-0001.html>


[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