< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] Suggestion for better logging


Log entries that output the entire SipMessage already have CRLF’s in them (one after each line of the SipMessage).  The proposal is just to add a CRLF before the first line of the sip message to make the logs easier to read.  Are people using grep and relying on the first line of the sip message being on the same line as the rest of the log entry?

 


From: david Butcher [mailto:davidlbutcher@xxxxxxxxx]
Sent: Tuesday, April 04, 2006 9:51 PM
To: Scott Godin
Cc: Matthias Moetje - TERASENS GmbH; resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Suggestion for better logging

 

Adding CRLF will impact use of grep or any other line oriented tool.

david

On 4/4/06, Scott Godin <slgodin@xxxxxxxxxxxx > wrote:

I've noticed that slightly frustrating annoyance too.  I'll take a look at adding CRLF's to the appropriate messages when I get a chance.

 


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Matthias Moetje - TERASENS GmbH
Sent: Tuesday, April 04, 2006 5:32 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Suggestion for better logging

Hi,

 

just a little suggestion to improve logging:

 

I think it would be much easier to read the log files

if there would be a newline printed before each logged

SIP message.

Currently you must always scroll horizontally to get

the most important part (method/response code).

 

What do you think? I'm not familiar enogh with the

stack code to know all places where this would

have to be changed...

 

Best regards,

Matthias

 


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel