<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>try again with latest master. Printing without function name was
      somehow lost along the development of structured logging. I just
      pushed a bunch of commits to add a log macro to get similar output
      for xlog functions like for past versions. Let me know if works as
      expected now.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 14.02.20 21:26, Joel Serrano wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMtXxQ=EwO6XZRoU1xN2scytoCYk2Gw2PGfnQM4L0G0+bROtwQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello, <br>
        <div><br>
        </div>
        <div>I've noticed that the output format of xlog() changes from
          5.3 to 5.4-nightly.</div>
        <div><br>
        </div>
        <div>v5.3 xlog():</div>
        <div><br>
        </div>
        <div><font face="monospace">Feb 13 11:56:35 csbc01 csbc[27333]:
            NOTICE: {1 24727 REGISTER <a class="moz-txt-link-abbreviated" href="mailto:b1d374f6-9b8c53ff@A.B.C.D">b1d374f6-9b8c53ff@A.B.C.D</a>}
            <script>: [log] auth successful</font><br>
        </div>
        <div><br>
        </div>
        <div>v5.4-nightly xlog():</div>
        <div><br>
        </div>
        <div><font face="monospace">Feb 13 11:56:35 csbc01 csbc[27333]:
            NOTICE: {1 24727 REGISTER <a class="moz-txt-link-abbreviated" href="mailto:b1d374f6-9b8c53ff@A.B.C.D">b1d374f6-9b8c53ff@A.B.C.D</a>}
            <script>:<font color="#ff0000"> xlog_helper():</font>
            [log] auth successful</font><br>
        </div>
        <div><br>
        </div>
        <div>Is there a way to avoid adding the extra "<b>xlog_helper():</b>"
          string? We have a lot of scripts that parse the K logs for
          different reasons and I would like to avoid having to update
          them all to match the new format.</div>
        <div><br>
        </div>
        <div>I've tried adding <b>modparam("xlog", "prefix", "")</b>
          but it only affects the "<script>:" part and not the
          "xlog_helper():" part.</div>
        <div><br>
        </div>
        <div>Thanks, </div>
        <div>Joel.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>