Hi,
You can look at the cake files to see how this is done - the log
function is in object.php, which in turn uses a simple class 'CakeLog'
in 'cake_log.php', which in turn uses the 'File' class in file.php.
As far as I can see, Cake opens and closes the file each time it writes
something. I don't think this is a huge performance issue until you get
to really a lot of hits. Having said that, personally I would try to
reduce the amount of calls to logging functions to a reasonable minimum
when I deploy an app. If the calls are about debugging, they should
probably be removed or disabled once the app is actually open to the
public, or once a bug has been closed.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
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