[
https://issues.apache.org/jira/browse/LOG4PHP-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michal Vanek updated LOG4PHP-120:
---------------------------------
Attachment: patch.php
Hi,
i ve created a patch for this issue. datePattern value is checked every
logging event. If it differs, file is closed (and re-opened later).
PHP unit tests passed, but there is some error with testRollingfilewith
compression (before applying patch). Without this test everything is ok.
> LoggerAppenderDailyFile doesn't roll over file inside of a process
> ------------------------------------------------------------------
>
> Key: LOG4PHP-120
> URL: https://issues.apache.org/jira/browse/LOG4PHP-120
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.0.0
> Environment: Linux
> Reporter: Christopher Merrick
> Attachments: patch.php
>
>
> In a long-running CLI process, LoggerAppenderDailyFile doesn't roll over to a
> new file when midnight is passed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira