Login  Register

xlog in opensips.cfg not going to specified folder

Posted by rgupta01 on Mar 31, 2015; 6:53pm
URL: https://support.nabble.com/xlog-in-opensips-cfg-not-going-to-specified-folder-tp7594414.html

I have set the following in opensips.cfg
log_facility=LOG_LOCAL6

Added the following line in /etc/rsyslog.conf
local6.*                                                /var/log/opensips.log

restarted the rsyslog service
service rsyslog restart

All the opensips logs are going to /var/log/opensips.log. However the debug logs (xlog) I have put in opensips.cfg is still going to /var/log/messages

Is there anything else I need to set in my opensips.cfg ?