Issue Details (XML | Word | Printable)

Key: ZF-263
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Incomplete
Priority: Trivial Trivial
Assignee: Richard Thomas
Reporter: Superbiji
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Rolling File Appender

Created: 17/Jul/06 03:52 AM   Updated: 05/Jul/07 02:43 PM   Resolved: 28/Jun/07 08:19 PM
Return to search "Fixed in 1.5.1"
Component/s: Zend_Log
Affects Version/s: None
Fix Version/s: 1.0.0

Time Tracking:
Not Specified


 Description  « Hide

Please add feature "Rolling File Appender" to Zend_Log.
For example every 20MB log file will be rolled, at maximum 10 log files.

Thanks



Elisamuel Resto added a comment - 30/Jul/06 08:10 PM

What you're asking for is to add a functionality to make Zend_Log rotate logs, or add functionality to read splitted logs in a "rolling" form?


Superbiji added a comment - 04/Aug/06 08:16 AM

to make Zend_Log rotate logs


Richard Thomas added a comment - 04/Nov/06 09:17 AM

This is really something that in most cases is deligated to the server to handle.

Rotating of logs at the application level of a web application would cause a large delay for the user that happened to hit the site and get "stuck" with the rotation action.

logrotate is a good example of handling this at the server level


Superbiji added a comment - 07/Nov/06 08:01 AM

Hi,
I'm developing software under Linux, I know logrotate

but my software will be deployed to multiplatform... (esp windows and linux)
It will be necessary to let php rotate the log, just like log4php


Richard Thomas added a comment - 07/Nov/06 08:40 AM

Reopening issue, however I don't think it should be part of "core" Zend_Log but instead split off into a seperate Zend_Log_Manager type class. This way those who need this functionality can use it but no overhead is added for those that don't


Bill Karwin added a comment - 13/Nov/06 03:19 PM

Changing fix version to unknown.


Bill Karwin added a comment - 28/Nov/06 05:54 PM

Scheduling for release 0.8.0.


Bill Karwin added a comment - 28/Jun/07 08:19 PM

Creating a new component or tool for managing log files is not related to the Zend_Log component. I'm closing this issue as "Incomplete" because that is what we have done for JIRA issues that really should be presented in the form of a proposal on our wiki.