you need restart syslog service. Under debian you can do this by,<br><br>service rsyslog restart<br><br>This will create log file as well.<br><br>Thank you.<br><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 1:44 PM, Miha <span dir="ltr">&lt;<a href="mailto:miha@softnet.si" target="_blank">miha@softnet.si</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>HI, <br>
      <br>
      here is my pastebin when I do opensips start:<br>
      <a href="http://pastebin.com/Z9hxrHB2" target="_blank">http://pastebin.com/Z9hxrHB2</a><br>
      <br>
      <br>
      debug=6<br>
      log_stderror=yes<br>
      log_facility=LOG_LOCAL0<br>
      <br>
      <br>
      syslog.conf<br>
      <br>
      <small><br>
        <br>
        #opensips<br>
        local0.*                                               
        /var/log/opensips.log<br>
        <br>
        <br>
      </small><br>
      Still no luck:(<br>
      <br>
      I tried to cat massages, opensips.log but there is no opensips
      log.<br>
      <br>
      Br,<br>
      Miha<div><div class="h5"><br>
      <br>
      On 11/19/2012 12:35 PM, Saúl Ibarra Corretgé wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <pre>On Nov 19, 2012, at 12:26 PM, Miha wrote:

</pre>
      <blockquote type="cite">
        <pre>Hi,

my opensips.cfg:
debug=6
log_stderror=yes
log_facility=LOG_LOCAL0

syslog.conf

#opensips
local0.* -/var/log/opensips.log


Where could be a poroblem that opensips does not log?
Opensips.log is empty.

</pre>
      </blockquote>
      <pre>Remove that &#39;-&#39; from the syslog.conf line, that prevents the matching entries from going there. It should look like this:

#opensips
local0.* /var/log/opensips.log


Regards,

PS: This applies to rsyslog.

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>

</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>Cell: +49 176 99 83 10 85<br>
MSN: <a href="mailto:shari_786pk@hotmail.com" target="_blank">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a><br>