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

2020-02-18 Thread Daniel-Constantin Mierla
OK, thanks for testing and reporting back!

Daniel

On 19.02.20 00:58, Joel Serrano wrote:
> Hi, 
>
> Just wanted to follow-up here, I've been distracted with other stuff
> sorry.
>
> I was able to test and the problem is fixed, logs are exactly what
> they are supposed to be again :)
>
> Thank you!
>
> Cheers, 
> Joel.
>
> On Sat, Feb 15, 2020 at 7:23 AM Daniel-Constantin Mierla
> mailto:mico...@gmail.com>> wrote:
>
> Hello,
>
> 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.
>
> Cheers,
> Daniel
>
> On 14.02.20 21:26, Joel Serrano wrote:
>> 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 }
>> 

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

2020-02-18 Thread Joel Serrano
Hi,

Just wanted to follow-up here, I've been distracted with other stuff sorry.

I was able to test and the problem is fixed, logs are exactly what they are
supposed to be again :)

Thank you!

Cheers,
Joel.

On Sat, Feb 15, 2020 at 7:23 AM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> 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.
>
> Cheers,
> Daniel
> On 14.02.20 21:26, Joel Serrano wrote:
>
> 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} 

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

2020-02-15 Thread Daniel-Constantin Mierla
Hello,

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.

Cheers,
Daniel

On 14.02.20 21:26, Joel Serrano wrote:
> 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} 

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

2020-02-14 Thread Henning Westerholt
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  on behalf of Joel Serrano 

Sent: Friday, February 14, 2020 9:26:12 PM
To: Kamailio (SER) - Users Mailing List 
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}