Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
PHP Version 5.2.1
Description
First, LoggerAppenderRollingFile::setFileName() tries to set parent property LoggerAppenderFile::$fileName which is private and therefor fails, resulting in an empty filename. Second, LoggerAppenderRollingFile::append() tries to access parent property LoggerAppenderFile::$fp which is also private, resulting to NULL.
The easiest fix would be to set visibility for LoggerAppenderFile::$fileName and LoggerAppenderFile::$fp to protected.