Wouldn't it be possible to let logrotate manage the cake logs?

http://gentoo-wiki.com/HOWTO_Setup_Logrotate

This way you don't have to code that in php. It's already there.


[EMAIL PROTECTED] wrote:
> Hi,
> I was wondering if there was a log rotation feature built somewhere in
> the Cake core (or an extension ofcourse)
>
> The reason I am looking for this within cake and not leaping to the
> standard log rotation in Linux is that many vhosts with many logs
> would make that a bit of a pain to manage.
>
> I have had a look around the CakeLog class and tried searching here,
> the bakery and trac but I returned nothing.
>
> If there is nothing like this already I would welcome a few
> suggestions on what features might be useful. SInce I feel I need the
> functionality I will probably code my own class/component (or
> whatever) to enable log rotation.
>
> thanks
> Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to