Troubleshooting
Here you can troubleshoot logs for dSIPRouter, Kamailio and rtpengine:
All of our services are using syslog. For more information on syslog click here.
Default log facilities:
Log Facility |
Service |
---|---|
local0 |
kamailio |
local1 |
rtpengine |
local2 |
dsiprouter |
Kamailio Logging
How to turn logging on
Edit /etc/rsyslog.d/kamailio.conf and ensure the line beginning with local0 is not commented out:
vi /etc/rsyslog.d/kamailio.conf
Then restart syslog:
systemctl restart rsyslog
How to turn logging off
Edit /etc/rsyslog.d/kamailio.conf and ensure the line beginning with local0 is commented out:
vi /etc/rsyslog.d/kamailio.conf
Then restart syslog:
systemctl restart rsyslog
Location of the log files
The default location is found here: /var/log/kamailio.log
How to configure it
Edit /etc/kamailio/kamailio.conf and change the variable ‘debug’ to the syslog logging verbosity of your choice.
vi /etc/kamailio/kamailio.conf
For more information see the documentation below:
RTPEngine Logging
How to turn logging on
Edit /etc/rsyslog.d/rtpengine.conf and ensure the line beginning with local1 is not commented out:
vi /etc/rsyslog.d/rtpengine.conf
Then restart syslog:
systemctl restart rsyslog
How to turn logging off
Edit /etc/rsyslog.d/rtpengine.conf and ensure the line beginning with local1 is commented out:
vi/etc/rsyslog.d/rtpengine.conf
Then restart syslog:
systemctl restart rsyslog
Location of the log files
The default location is found here: /var/log/rtpengine.log
How to configure it
Edit /etc/rtpengine/rtpengine.conf and change the variable ‘debug’ to the syslog logging verbosity of your choice.
vi /etc/rtpengine/rtpengine.conf
5. For more information see the documentation below:
dSIPRouter Logging
How to turn logging on
Edit /etc/rsyslog.d/dsiprouter.conf and ensure the line beginning with local2 is not commented out:
vi /etc/rsyslog.d/dsiprouter.conf
Then restart syslog:
systemctl restart rsyslog
How to turn logging off
Edit /etc/rsyslog.d/dsiprouter.conf and ensure the line beginning with local2 is commented out:
vi /etc/rsyslog.d/dsiprouter.conf
Then restart syslog:
systemctl restart rsyslog
Location of the log files
The default location is found here: /var/log/dsiprouter.log
How to configure it
Edit /etc/dsiprouter/gui/settings.py and change the variable ‘DSIP_LOG_LEVEL’ to the syslog logging verbosity of your choice.
vi /etc/dsiprouter/gui/settings.py
5. For more infornation see the documentation below:
https://success.trendmicro.com/solution/TP000086250-What-are-Syslog-Facilities-and-Levels