<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Exactly. ERROR logs should go to
        local0.error, while INFO logs should go to local0.info, for
        example.</tt><br>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 08/06/2014 05:46 PM, Oleksandr Kunytsia wrote:<br>
    </div>
    <blockquote
cite="mid:CAAYNYioN6YGOAVe=DjNA4+tKsFyCame2p7fsbaTKAntxyi=9Xw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello,&nbsp;<span style="white-space:pre-wrap">Liviu Chircu</span></div>
        <div><span style="white-space:pre-wrap"><br>
          </span></div>
        <div><span style="white-space:pre-wrap">Did I understand
            correct, that OpenSIPS should use logging level according to
            the situation?</span></div>
        <div><span style="white-space:pre-wrap"><br>
          </span></div>
        <div><span style="white-space:pre-wrap"><br>
          </span></div>
        <div><span style="white-space:pre-wrap"><br>
          </span></div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Aug 6, 2014 at 12:14 PM, Liviu
          Chircu <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</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><tt>Hello Oleksandr,<br>
                  <br>
                  OpenSIPS should make use of all logging "levels" of
                  syslog (<i>man 3 syslog</i>). Its entire logging
                  system is actually based upon the actual levels of
                  syslog itself. The only logging level which isn't used
                  is LOG_EMERG.<br>
                  <br>
                  If you are able to reproduce a unexpected behaviour
                  (e.g. setting "log_level = 4" in the script, and
                  OpenSIPS logs everything at local0.error), please post
                  a report on the GitHub issues tracker [1].<br>
                  <br>
                  [1]: <a moz-do-not-send="true"
                    href="https://github.com/OpenSIPS/opensips/issues"
                    target="_blank">https://github.com/OpenSIPS/opensips/issues</a><br>
                  <br>
                  Best regards,<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 class="h5"> On 08/06/2014 08:49 AM, Oleksandr
                    Kunytsia wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr"><span
                        style="font-family:arial,sans-serif;font-size:13px">Hello,</span>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px"><br>
                      </div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">Logging

                        of my opensips looks like the following:</div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">
                        <div><br>
                        </div>
                        <div>----cut----&nbsp;</div>
                        <div>log_facility=LOG_LOCAL2</div>
                        <div>log_stderror=no</div>
                      </div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">----cut----<br>
                      </div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px"><br>
                      </div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">Opensips

                        sends logging information as LOCAL2.error
                        messages,</div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">
                        <br>
                      </div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">How
                        to configure to send messages with another
                        log_level? e.g.&nbsp;<a moz-do-not-send="true"
                          href="http://local2.info/" target="_blank">local2.info</a>?</div>
                      <div
                        style="font-family:arial,sans-serif;font-size:13px">
                      </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">Users@lists.opensips.org</a><br>
            <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><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>