I am part of a team that is developing an application using Zend framework 2 and MySQL database. We need to develop a logging feature of the actions performed by the users in order to enable audits by the application itself. We are a new team and this is the first time we will do something like that. I'm afraid to write the logs on a bench and the table gets too large.
Then my question: When is it appropriate to write logs to the database?