[SR-Users] xlog() format change from 5.3 to 5.4-nightly

Henning Westerholt hw at skalatan.de
Fri Feb 14 23:23:40 CET 2020


Hi Joel,

It might be a regression introduced recently from the logging infrastructure refactoring.

I agree, it should not change without reason.

Cheers,

Henning


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
________________________________
From: sr-users <sr-users-bounces at lists.kamailio.org> on behalf of Joel Serrano <joel at textplus.com>
Sent: Friday, February 14, 2020 9:26:12 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] xlog() format change from 5.3 to 5.4-nightly

Hello,

I've noticed that the output format of xlog() changes from 5.3 to 5.4-nightly.

v5.3 xlog():

Feb 13 11:56:35 csbc01 csbc[27333]: NOTICE: {1 24727 REGISTER b1d374f6-9b8c53ff at A.B.C.D} <script>: [log] auth successful

v5.4-nightly xlog():

Feb 13 11:56:35 csbc01 csbc[27333]: NOTICE: {1 24727 REGISTER b1d374f6-9b8c53ff at A.B.C.D} <script>: xlog_helper(): [log] auth successful

Is there a way to avoid adding the extra "xlog_helper():" 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.

I've tried adding modparam("xlog", "prefix", "") but it only affects the "<script>:" part and not the "xlog_helper():" part.

Thanks,
Joel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200214/40202eb7/attachment.html>


More information about the sr-users mailing list