Forum: Typo Logger and object life time

Posted by Michael Dever (Guest)
on 2009-09-02 16:56
(Received via mailing list)
I guess I'll post here, seeing as theres no typo-dev@ list.

I was writing a sidebar over the weekend, and testing it live... I know 
(bad
idea :) ) and it was failing at different points. On looking at
production.log, it seemed to think that sidebars had rendered properly,
there wasn't even any backtraces in there! Is there a global logger
available in Typo that I can plug into? Twould be handy for those times 
when
I can't be bothered writing tests :)

Also, I was wondering if someone could point me in the right direction 
on
object lifetimes. I want my sidebar to be destroyed/recreated every 5
minutes. I took a stab in the dark while writing mine based on some 
other
code I saw, and set

lifetime 5.minutes

thinking that this may have been what I needed. But the object seems to 
stay
cached for a random indefinite amount of time.

--

Regards,

Michael Dever
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.