[reSIProcate] Suggestion for better logging

Scott Godin slgodin at icescape.com
Wed Apr 5 07:51:42 CDT 2006


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 at gmail.com] 
Sent: Tuesday, April 04, 2006 9:51 PM
To: Scott Godin
Cc: Matthias Moetje - TERASENS GmbH;
resiprocate-devel at list.sipfoundry.org
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 at icescape.com > 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 at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Matthias Moetje - TERASENS GmbH
Sent: Tuesday, April 04, 2006 5:32 PM
To: resiprocate-devel at list.sipfoundry.org
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 at list.sipfoundry.org 
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060405/71fdfb1e/attachment.htm>


More information about the resiprocate-devel mailing list