[SR-Users] Kamailio log file empty

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 26 11:49:40 CET 2018


Hello,

have you restarted the syslog daemon?

Cheers,
Daniel


On 24.01.18 12:21, Ashutosh chaubey wrote:
> Hi,
>
> My kamailio.log file is empty, following is my configuration:
> In Kamailio.cfg-
>
> log_facility=LOG_LOCAL0
>
> #!ifdef WITH_DEBUG
> debug=4
> log_stderror=yes
> #!else
> debug=3
> log_stderror=no
> #!endif
>
>
> Inside rsyslog.conf
>
> # 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
>
> User has all the privileges to write in log file.
>
> Regards,
> Ashutosh Chaubey 
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180126/cb069ad8/attachment.html>


More information about the sr-users mailing list