Hi Herman,
You must follow the instructions at
https://www.kamailio.org/wiki/tutorials/3.2.x/syslog
Anyway check:
* In case Kamailio is not running as root then the user as enough
privileges to write in the log file.
* How do you have 'log_stderror' in your kamailio config file?.
Regards,
On Wed, Oct 26, 2016 at 9:27 PM, Hermann Norpois <hnorpois(a)gmail.com> wrote:
my logfile /var/log/kamailio/kamailio.log is empty.
1)
/etc/rsyslog.d/kamailio.cfg exists with the entry:
log_facility=LOG_LOCAL0
2)
/etc/rsyslog.con has the entry:
#
# don't log messages with LOG_LOCAL0 in /var/log/syslog anymore
*.*;auth,authpriv.none,local0.none -/var/log/syslog
#
# log messages with LOG_LOCAL0 in /var/log/kamailio.log
local0.* -/var/log/kamailio.log
#
local0.* -/var/log/kamailio/kamailio/kamailio.log
Alternatively I edited /etc/rsyslog.d/kamailio.conf that should be used by
rsylog.conf
3)
/etc/rsyslog.d/kamailio.conf exists with the entry:
local0.* -/var/log/kamailio/kamailio.log
I am working with ubuntu on an amazon instance.
Why is the logfile empty?
Thanks Herman
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Alberto Llamas
Phone: +1-786-805-6003
Telecommunications Engineer
Digium Certified Asterisk Professional (dCap)