3
I participate in 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 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 this. I’m afraid to record the logs in bank and the table will get very large.
So my question: when it is indicated to save logs in the database?
Three years later, and there is a comment: logging into DB is practical, but it is one more layer to give problem. If the data is too important, log as "primitively" as possible (system log, file) and transfer to DB later, so if DB fails, it did not lose the original record.
– Bacco