<div dir="ltr">Hi, <div><br></div><div>Just wanted to follow-up here, I've been distracted with other stuff sorry.</div><div><br></div><div>I was able to test and the problem is fixed, logs are exactly what they are supposed to be again :)</div><div><br></div><div>Thank you!<br></div><div><br></div><div>Cheers, </div><div>Joel.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 15, 2020 at 7:23 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <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>On 14.02.20 21:26, Joel Serrano wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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 href="mailto:b1d374f6-9b8c53ff@A.B.C.D" target="_blank">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 href="mailto:b1d374f6-9b8c53ff@A.B.C.D" target="_blank">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></fieldset>
      <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </div>

</blockquote></div>