List Info

Thread: Max filesize for SipXLogFile




Max filesize for SipXLogFile
user name
2007-09-06 08:32:20

Hello,

is it possible to set the max filesize for the LogFile.
I use "sipxConfigSetLogFile( ... )" and the filesize grows and grows.

My wish:
If the filesize is greater than a max filesize the logfile would be deletet
and a new file is created with a filesize of zero.

Dieter
Re: Max filesize for SipXLogFile
user name
2007-09-06 11:46:24
Hi,

On 9/6/07, Dieter.Maubachcae.de
<Dieter.Maubachcae.de> wrote:
> is it possible to set the max filesize for the
LogFile.
> I use "sipxConfigSetLogFile( ... )" and the
filesize grows and grows.
>
> My wish:
> If the filesize is greater than a max filesize the
logfile would be deletet
> and a new file is created with a filesize of zero.

No, current implementation does not support such option. All
work with
log file is done inside this file:
"sipXportLibsrcosOsSysLogTask.cpp".
If you want to implement your wish - this will be a good
place to start from.
And do not forget to publish your patch then. 

-- 
Regards,
Alexander Chemeris.

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )