<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>As an extra note here . When logging via syslog, the time and pid
      part are formated by syslog itself. When logging to stderr,
      opensips emulates the syslog formating for consistency reasons.<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>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/19/2017 05:36 PM, Benjamin
      Cropley wrote:<br>
    </div>
    <blockquote
cite="mid:CAF7jiz+1+7pNE76xRzcu5Pg9G47qS1=2S0XxOCyfwUEQ3-_rEA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><a moz-do-not-send="true"
          href="https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc87">https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc87</a>
        and <a moz-do-not-send="true"
          href="https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc91">https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc91</a> should
        be able to help
        <div><br>
        </div>
        <div>For example...</div>
        <div><br>
        </div>
        xlog("L_DBG","$time(%b-%d_%H-%M-%S).$Tsm");
        <div><br>
        </div>
        <div>All the best,</div>
        <div>Ben Cropley</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Apr 19, 2017 at 3:59 PM,
          Ramachandran, Agalya (Contractor) <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:Agalya_Ramachandran@comcast.com"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:Agalya_Ramachandran@comcast.com">Agalya_Ramachandran@comcast.com</a></a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="#0563C1" vlink="#954F72" lang="EN-US">
              <div class="m_-2366974698099214668WordSection1">
                <p class="MsoNormal">Hi Bogdan/team,</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">I have couple of  questions
                  regarding the logging format for OpenSIPS logs.</p>
                <p class="MsoNormal"> </p>
                <p class="m_-2366974698099214668MsoListParagraph"><span>1)<span
                      style="font:7.0pt "Times New Roman"">     
                    </span></span>Is it possible to include milliseconds
                  in the time stamp. Currently it is displaying till
                  seconds ( Apr 18 15:05:53 ).</p>
                <p class="m_-2366974698099214668MsoListParagraph"><span>2)<span
                      style="font:7.0pt "Times New Roman"">     
                    </span></span>Is it possible to log in standard ISO
                  format such as "2017-04-18T15:05:53.0005" instead of
                  “Apr 18 15:05:53”</p>
                <p class="m_-2366974698099214668MsoListParagraph"> </p>
                <p class="MsoNormal">If there is a way to achieve the
                  above two, let me know any configs to be added or so.</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">Regards,</p>
                <p class="MsoNormal">Agalya</p>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<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"
              rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/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">All the best,
            <div>Ben Cropley</div>
            <div>07539 366 905</div>
          </div>
        </div>
      </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>