[Vtigercrm-commits] [vtiger-commits] r6186 - /vtigercrm/trunk/log4php/appenders/LoggerAppenderRollingFile.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 19 10:57:26 EDT 2006
Author: richie
Date: Fri May 19 08:57:21 2006
New Revision: 6186
Log:
@ added to suppress the error notification while
renaming log files
Modified:
vtigercrm/trunk/log4php/appenders/LoggerAppenderRollingFile.php
Modified: vtigercrm/trunk/log4php/appenders/LoggerAppenderRollingFile.php
==============================================================================
--- vtigercrm/trunk/log4php/appenders/LoggerAppenderRollingFile.php (original)
+++ vtigercrm/trunk/log4php/appenders/LoggerAppenderRollingFile.php Fri May 19 08:57:21 2006
@@ -134,7 +134,7 @@
$file = $fileName . "." . $i;
if (is_readable($file)) {
$target = $fileName . '.' . ($i + 1);
- rename($file, $target);
+ @rename($file, $target);
}
}
More information about the vtigercrm-commits
mailing list