Hi All!
I've edited rsyslog files adding local7.none and it's not yet working. Of course restarting both kamailio and rsyslogd
What i have now is that I'm even trying to run the process as root but it's always writing logs into syslog and not in my custom folder log file.
I've tried using LOG7 and LOG0 as the wiki is suggesting but with no success..
Now my rsyslog files is:
cat /etc/rsyslog.d/50-default.conf
# Default rules for rsyslog.
#
# For more information see rsyslog.conf(5) and /etc/rsyslog.conf
#
# First some standard log files. Log by facility.
#
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none,local0.none,local7.none -/var/log/syslog
#kamailio logs
local7.* -/home/sip_logs/kamailio.log
local0.* -/home/sip_logs/kamailio.log
cat /etc/kamailio/kamailio.cfg
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
#!ifdef WITH_DEBUG
debug=4
log_stderror=no
#!else
debug=2
log_stderror=no
#!endif
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
Il giorno 26/nov/2014, alle ore 13:40, Salman Zafar ha scritto:
Hi MV,
You do have correct rights on the log file, if you are not running kamailio from root, right?.
check if it is not log_stderror=no, or disk space or try directly adding in rsyslog.conf.. just random thoughts..if you have not managed to fixed it yet.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users