1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 07:34:12 +02:00

Fix issue with changing the rotating file handler filename format, refs #267

This commit is contained in:
Jordi Boggiano
2014-04-17 13:19:47 +02:00
parent 03000a7fcd
commit 7c002e9d55

View File

@@ -65,6 +65,8 @@ class RotatingFileHandler extends StreamHandler
{ {
$this->filenameFormat = $filenameFormat; $this->filenameFormat = $filenameFormat;
$this->dateFormat = $dateFormat; $this->dateFormat = $dateFormat;
$this->url = $this->getTimedFilename();
$this->close();
} }
/** /**