pjsua python and logging

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

 



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



[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