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