<div dir="ltr">Hi Herman,<div><br></div><div>You must follow the instructions at <a href="https://www.kamailio.org/wiki/tutorials/3.2.x/syslog">https://www.kamailio.org/wiki/tutorials/3.2.x/syslog</a></div><div><br></div><div>Anyway check:</div><div><br></div><div>* In case Kamailio is not running as root then the user as enough privileges to write in the log file.</div><div><br></div><div>* How do you have 'log_stderror' in your kamailio config file?.</div><div><br></div><div>Regards, </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 26, 2016 at 9:27 PM, Hermann Norpois <span dir="ltr"><<a href="mailto:hnorpois@gmail.com" target="_blank">hnorpois@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> my logfile  /var/log/kamailio/kamailio.log is empty.<br><br><br>1)<br>/etc/rsyslog.d/kamailio.cfg exists with the entry:<br>log_facility=LOG_LOCAL0<br><br>2)<br></div>/etc/rsyslog.con has the entry:<br><div>#<br># don't log messages with LOG_LOCAL0 in /var/log/syslog anymore<br>*.*;auth,authpriv.none,local0.<wbr>none              -/var/log/syslog<br><br>#<br># log messages with LOG_LOCAL0 in /var/log/kamailio.log<br>local0.*                      <wbr>  -/var/log/kamailio.log<br>#<br><br><div> local0.*                     <wbr>   -/var/log/kamailio/kamailio/<wbr>kamailio.log<br><br></div><div>Alternatively I edited /etc/rsyslog.d/kamailio.conf that should be used by rsylog.conf <br></div><div><br>3)<br></div><div>/etc/rsyslog.d/kamailio.conf exists with the entry:<br>local0.*                      <wbr>  -/var/log/kamailio/kamailio.<wbr>log<br><br><br></div><div>I am working with ubuntu on an amazon instance.<br><br><br></div><div>Why is the logfile empty?<br><br></div>Thanks Herman</div></div>
<br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Alberto Llamas<br></div><div>Phone: +1-786-805-6003</div><div><div dir="ltr"><div name="div[0]"><span>Telecommunications</span><span> </span><span>Engineer</span></div></div>Digium Certified Asterisk Professional (dCap)<br></div><div><br></div></div></div></div></div>
</div>