<p>What version are you using? The lines reported in logs are not matching latest 4.2 or master branches.</p>

<p>Using ser_error should work to differentiate on what happened inside via_builder() is ok. You can make a patch for that and if works for you, submit it here.</p>

<p>Not sure I get how you would protect with ser_error against excessive logging, but perhaps when I see the code it will be more clear. Make this a second patch to be reviewed separately, allowing the first to be merged without dependency on this one.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/47#issuecomment-71169069">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaaZIcRZtm73Ccw9XD5JyLMGuU3Sks5nkg6egaJpZM4DUJGs.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/47#issuecomment-71169069"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>