I noticed that every log event database is queried with log message.

Why not use lazy method - put every log to array and query database in the
destructor?
I know that in case of not catched exception destructors won't be called,
but since front controller catch'em all I think it is worth of risk.
-- 
View this message in context: 
http://www.nabble.com/Improvement-of-Zend_Log_Writer_Db-tf4828713s16154.html#a13815113
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to