Scott wrote:

>Subject: [sipX-dev] limit size of Xml Rpc logging?
>
>With the increased use of XML-RPC, and increased size of some 
>of the objects it transfers, we've had a couple of different 
>problems crop up.
>Raymond recently found and fixed a buffer overflow, and now 
>there's the fact that the log files get really big:
>
>        http://track.sipfoundry.org/browse/XECS-1868
>        Snapshot Files grew to over 49Mb in just over an hour 
>of turning
>        them on
>        
>One element of that problem is that the Xml Rpc logging is 
>huge because every Xml Rpc body is logged when sent or received.
>
>I have a patch that truncates these at some limit (I picked 
>1000 bytes more or less out of the air).  Usually, the first 
>few parameters in the call or response are enough to give you 
>a good idea of what's going on.
>What do people think about truncating them?
>

Being the one who had to dig through to find these problems, I
wholeheartedly agree with truncating.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to