I am building a Zend Framework application that performs jobs submitted by the user. The actions taken need to be logged to a database. I would like to correlate the job with its log entries.
Instead of creating my own logging class, I would like to extend Zend_Log since it provides 99% of the functionality that I need. All I need to do is add a foreign key of the job id to the log data model.
Is this possible?
I'm also looking for a good example of Zend_Log writing to a database. I haven't searched SO yet. I will do that after I post this.
Thanks in advance...
Steve