[SR-Users] logfile is empty

Alberto Llamas albertollamaso at gmail.com
Wed Oct 26 22:53:54 CEST 2016


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 at 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 at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/eb96a5fd/attachment.html>


More information about the sr-users mailing list