Ok. Can i control to not writing the logs in freeswitch.log when it is not able to recreate a new file beacuse it crossing the limit and ending up with full using of disk space Thanks, Subhash. On Mon, Mar 4, 2013 at 9:02 PM, Peter Olsson <POlsson@enghouse.com> wrote:
It might be lots of different reasons, but in the end it boils down to the OS –there is probably something else (outside FS) holding a lock, which make the rename file call to fail. Make sure to exclude the folder from antivirus, and make sure no other applications are touching the log files. ****
** **
The actual method called from FS is MoveFileEx, which is a standard Win32 api call – if it fails it’s because the OS can’t move the file, there is nothing inside FS that can change this.****
** **
/Peter****
** **
** **
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Subhash *Skickat:* den 4 mars 2013 15:11 *Till:* FreeSWITCH Users Help *Ämne:* Re: [Freeswitch-users] Unable to Recreate Log Files****
** **
But after a few hours of stress test we are facing this scenario.****
Are there any reasons?****
On Mar 4, 2013 7:27 PM, "Peter Olsson" <POlsson@enghouse.com> wrote:****
My guess would be antivirus or something similar, that’s holding a file lock when trying to rename the file.****
****
/Peter****
****
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Subhash *Skickat:* den 4 mars 2013 08:42 *Till:* FreeSWITCH Users Help *Ämne:* [Freeswitch-users] Unable to Recreate Log Files****
****
Hi,****
****
I used the latest binaries(Windows Installer),version info is given below and observered that when it is not able to rename the log file it is keep on writing the logs in freeswitch.log file which is crossing the limt set in logconf.xml file.
The error seen in the freeswitch log file is
[CRIT] mod_logfile.c:164 Error renaming log from C:/Program Files/FreeSWITCH/log/freeswitch.log.4 to C:/Program Files/FreeSWITCH/log/freeswitch.log.5 [No error]
And the version info is
Freswitch version 1.3.13b git 3c7f8f8 2013-02-20 22:44:51z ****
*NOTE* : This issue is critical as we are facing it at production systems. ****
Thanks, Subhash.****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org****
!DSPAM:5134a8c632761755499571! ****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org