/**
  * Similar to the parent method, but replaces "%s" in the file name with 
  * the current date in format specified by $datePattern. 
  *
  * @see Ideasa_Log4php_Appenders_LoggerAppenderFile::setFile()
  */
 public function setFile($file)
 {
     $date = date($this->getDatePattern());
     $file = sprintf($file, $date);
     parent::setFile(sprintf($file, $date));
 }
 public function __destruct()
 {
     parent::__destruct();
 }