I am trying to add a logging of a specific transaction process in our system to help us trace where the customer had problem
e.g
2012-12-11 05:35:11 pm : Chose PayPal as payment method
2012-12-11 05:38:15 pm : Pay = transaction id: E547HGf915JMN
2012-12-11 05:44:23 pm : Payment processed PayPal payment status = Completed
2012-12-11 05:45:17 pm : Saved transaction
2012-12-11 05:47:22 pm : Redirect = http://domain.com/redirect_url/
Should I use logging via text file or MySQL? I’m thinking of using text file as Triggers tend to slow down the database and would be harder to maintain in the long run?
Do you have any suggestions or preferred way of logging events/processes?
Thank you very much.
From my experience you should have to use
text filefor logging of a specific transaction process because this will be safer and don’t create problem on Mysql server.