The xlog module is not exported to KEMI, probably it should be addressed to make those
functions available to all scripting languages. Right now the basic logging functions are
exported from core (e.g., KSR.xinfo() ).
For Python, you can try to use the function from their syslog package:
*
https://docs.python.org/3.3/library/syslog.html
Like:
```
syslog.syslog(LOG_INFO| LOG_LOCAL2, "this is a log info message\")
```
It should not be needed to do openlog() in Python script, kamailio does it internally.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2064#issuecomment-530241378