[Vtigercrm-commits] [vtiger-commits] r10074 - /vtigercrm/branches/5.0.3/log4php/appenders/LoggerAppenderRollingFile.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jan 16 09:39:18 EST 2007


Author: richie
Date: Tue Jan 16 07:39:14 2007
New Revision: 10074

Log:
* Suppress the renaming error of log file. In future we have to handle this if we need more log files

Modified:
    vtigercrm/branches/5.0.3/log4php/appenders/LoggerAppenderRollingFile.php

Modified: vtigercrm/branches/5.0.3/log4php/appenders/LoggerAppenderRollingFile.php
==============================================================================
--- vtigercrm/branches/5.0.3/log4php/appenders/LoggerAppenderRollingFile.php (original)
+++ vtigercrm/branches/5.0.3/log4php/appenders/LoggerAppenderRollingFile.php Tue Jan 16 07:39:14 2007
@@ -144,7 +144,9 @@
             $this->closeFile(); // keep windows happy.
     
             $file = $fileName;
-            rename($file, $target);
+
+	    //As of now suppress the error in rename. we have to handle in future
+            @rename($file, $target);
         }
         
         $this->setFile($fileName, false);





More information about the vtigercrm-commits mailing list