On Sat, Mar 20, 2010 at 7:40 PM, howard chen <[email protected]> wrote: > Hi, > > On Sun, Mar 21, 2010 at 12:49 AM, Matthew Weier O'Phinney > <[email protected]> wrote: > >> It should be safe; it uses file locking internally to prevent issues >> with concurrent writers. >> >> -- > > > Thanks for your reply. > > What if a file is being locked by an apache process? Exception anyway > or will wait? > > I want log can be 100% write into the log file, so file based log is > not possible? > > Or should I use syslog? >
If performance is a concern, avoid doing logs (in production). :-) We are using Zend_Log+syslog (there's a writer for it) for all our CLI-tools. No idea what kind of logging you are after. Till
