You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ih...@apache.org on 2011/01/16 11:00:29 UTC
svn commit: r1059525 -
/logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php
Author: ihabunek
Date: Sun Jan 16 10:00:29 2011
New Revision: 1059525
URL: http://svn.apache.org/viewvc?rev=1059525&view=rev
Log:
Fixed bug introduced in previous commit - duplicate getMaximumFileSize() method.
Modified:
logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php
Modified: logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php?rev=1059525&r1=1059524&r2=1059525&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php (original)
+++ logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php Sun Jan 16 10:00:29 2011
@@ -103,7 +103,7 @@ class LoggerAppenderRollingFile extends
* before being rolled over to backup files.
* @return integer
*/
- private function getMaximumFileSize() {
+ public function getMaximumFileSize() {
return $this->maxFileSize;
}
@@ -237,16 +237,6 @@ class LoggerAppenderRollingFile extends
}
/**
- * @return Returns the maximum size that the output file is allowed to
- * reach before being rolled over to backup files.
- * @deprecated This method is deprecated. Use getMaxFileSize() instead.
- */
- public function getMaximumFileSize() {
- return $this->getMaxFileSize();
- }
-
-
- /**
* @return Returns the maximum size that the output file is allowed to reach
* before being rolled over to backup files.
*/