<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Tito,<br>
      <br>
      You have log_stderror set on YES, which will make opensips to log
      to console, not to syslog.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 23.04.2016 01:46, Tito Cumpen wrote:<br>
    </div>
    <blockquote
cite="mid:CANZPVB7qfOZ4nzgLYYCEeYKYX4xK2uhH3mNVZM=qt3KhXBRU2g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Bogdan,
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here are the first lines from my config:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <p class=""><span class="">  1 </span><span class="">#</span></p>
          <p class=""><span class="">   2 </span><span class="">#
              OpenSIPS residential configuration script</span></p>
          <p class=""><span class="">   3 </span><span class="">#    
              by OpenSIPS Solutions &lt;<a moz-do-not-send="true"
                href="mailto:team@opensips-solutions.com">team@opensips-solutions.com</a>&gt;</span></p>
          <p class=""><span class="">   4 </span><span class="">#</span></p>
          <p class=""><span class="">   5 </span><span class="">#
              Please refer to the Core CookBook at:</span></p>
          <p class=""><span class="">   6 </span><span class="">#     
              <a moz-do-not-send="true"
                href="http://www.opensips.org/Resources/DocsCookbooks">http://www.opensips.org/Resources/DocsCookbooks</a></span></p>
          <p class=""><span class="">   7 </span><span class=""># for a
              explanation of possible statements, functions and
              parameters.</span></p>
          <p class=""><span class="">   8 </span><span class="">#</span></p>
          <p class=""><span class="">   9 </span></p>
          <p class=""><span class="">  10 </span></p>
          <p class=""><span class="">  11 </span><span class="">#######
              Global Parameters #########</span></p>
          <p class=""><span class="">  12 </span></p>
          <p class=""><span class="">  13 </span><span class="">#debug=3</span></p>
          <p class=""><span class="">  14 </span><span class="">#log_level=3 </span></p>
          <p class=""><span class="">  15 </span><span class="">#log_stderror=yes</span></p>
          <p class=""><span class="">  16 </span></p>
          <p class=""><span class="">  17 </span><span class="">log_facility=</span><span
              class="">LOG_LOCAL0</span></p>
          <p class=""><span class="">  18 </span><span class="">log_level=</span><span
              class="">3 </span></p>
          <p class=""><span class="">  19 </span><span class="">log_stderror=</span><span
              class="">yes</span></p>
          <p class=""><span class="">  20 </span><span class="">#memlog=1</span></p>
          <p class=""><span class="">  21 </span></p>
          <p class=""><span class="">  22 </span><span class="">debug_mode=</span><span
              class="">no</span></p>
          <p class=""><span class="">  23 </span><span class="">children=</span><span
              class="">4</span></p>
          <p class=""><span class="">  24 </span><span class="">auto_aliases=</span><span
              class="">no</span></p>
          <p class=""><span class="">  25 </span><span class="">#disable_tcp=no</span></p>
          <p class=""><span class="">  26 </span><span class="">tcp_connection_lifetime=</span><span
              class="">3600</span></p>
          <p class=""><span class="">  27 </span><span class="">tcp_connect_timeout=</span><span
              class="">3</span></p>
          <p class=""><span class="">  28 </span><span class="">tcp_keepidle
              =</span><span class=""> 30</span></p>
          <p class=""><span class="">  29 </span><span class="">tcp_keepinterval
              =</span><span class=""> 5</span></p>
          <p class=""><span class="">  30 </span><span class="">tcp_keepalive
              =</span><span class=""> 1</span></p>
          <p class=""><span class="">  31 </span><span class="">tcp_keepcount
              =</span><span class=""> 5</span></p>
          <p class=""><span class="">  32 </span><span class="">#tcp_max_msg_chunks=8</span></p>
          <p class=""><span class="">  33 </span><span class="">tcp_max_msg_time
              =</span><span class=""> 8</span></p>
          <p class=""><span class="">  34 </span><span class="">tcp_children=</span><span
              class="">6</span></p>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Apr 22, 2016 at 6:42 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Tito,<br>
                <br>
                what are the values for the debug_mode and for
                log_stderror ? And in what order to they pop into your
                script ?<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5">
                  <div>On 22.04.2016 21:50, Tito Cumpen wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Liviu,
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>I don't see any messages regarding opensips
                        in /var/log/messages. I don't see an issue
                        finding opensips.cfg. Since opensips is starting
                        with all the changes I make to the config being
                        applied. Here is my definition in rsyslog.conf</div>
                      <div>
                        <p><span>local0.*                               
                                            /var/log/opensips</span></p>
                        <p><span>this is the log facility definition in
                            opensips config</span></p>
                        <p><span></span></p>
                        <p>  log_facility=LOG_LOCAL0</p>
                        <p><br>
                        </p>
                        <p>Previous versions/pulls of opensips didn't
                          appear to have this issue. It has made itself
                          apparent within the last month. </p>
                        <p><br>
                        </p>
                        <p>Thanks,</p>
                        <p>Tito</p>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Fri, Apr 22, 2016 at
                        4:47 AM, Liviu Chircu <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:liviu@opensips.org"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:liviu@opensips.org">liviu@opensips.org</a></a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi
                              Tito,<br>
                              <br>
                              Did you find anything into
                              /var/log/{syslog,messages}? A common error
                              is that the config file is not found ("-f
                              /bad/path/opensips.cfg"), and OpenSIPS
                              will naturally throw this error to syslog,
                              rather than the log file you expect.<br>
                            </tt>
                            <pre cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                            <div>
                              <div>
                                <div>On 21.04.2016 01:06, Tito Cumpen
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>
                                  <div dir="ltr">Group and devs,
                                    <div><br>
                                    </div>
                                    <div>I am having issues getting any
                                      sort of opensips logs with the
                                      latest head pull git revision:
                                      6c10501</div>
                                    <div>. I am running the new
                                      param log_level = 4 but I am
                                      seeing opensips log anything into
                                      the specified log facility or the
                                      file. Is anyone else seeing this
                                      issue?</div>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
                          <br>
_______________________________________________<br>
                          Users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Users@lists.opensips.org"
                            target="_blank">Users@lists.opensips.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                            rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>