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@lists.kamailio.org> on behalf of Joel Serrano <joel@textplus.com>
Sent: Friday, February 14, 2020 9:26:12 PM
To: Kamailio (SER) - Users Mailing List <sr-users@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@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@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.