Hello,
thanks for the patch, it will be committed once the code is unfrozen for
testing v3.3.0. It might be good to add it to the tracker, to be sure it
will not be lost.
Cheers,
Daniel
On 5/14/12 11:57 PM, Konstantin M. wrote:
Hi,
As I see, app_python module has almost no logging functionality except
LM_ERR.
As a python developer and user I need a more python functionality.
did a patch (attached) against kamailio-3.2.3 for adding an additional
logging and I'd like to share it.
Testcase:
0(5403) INFO: app_python [python_iface.c:41]: Loggers.py: LM_GEN1:
msg: Test Message
0(5403) WARNING: app_python [python_iface.c:60]: Loggers.py: LM_GEN2:
msg: Test Message
0(5403) ALERT: app_python [python_iface.c:76]: Loggers.py: LM_ALERT:
msg: Test Message
0(5403) CRITICAL: app_python [python_iface.c:92]: Loggers.py:
LM_CRIT: msg: Test Message
0(5403) ERROR: app_python [python_iface.c:108]: Loggers.py: LM_ERR:
msg: Test Message
0(5403) WARNING: app_python [python_iface.c:124]: Loggers.py:
LM_WARN: msg: Test Message
0(5403) NOTICE: app_python [python_iface.c:140]: Loggers.py:
LM_NOTICE: msg: Test Message
0(5403) INFO: app_python [python_iface.c:156]: Loggers.py: LM_INFO:
msg: Test Message
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda