0

I'm working on a application where client need to keep track on every action performed by users so they can know which users made some mistake and which kind of mistake and when it does. I'm doing some research on this and found Loggable and Entity Audit but neither convinces me at all so, did yours did something like this in the past? Have any suggestion around this? I'll like to do this outside PostgreSQL for example in a noSQL DB like MongoDB or any supported by Doctrine2 and Symfony2

ReynierPM
  • 17,594
  • 53
  • 193
  • 363
  • Do you need to keep track on a user basis? Or just a general log of when issues occur? – Bioto Aug 21 '14 at 23:31
  • What is the difference between them? What I need is to track the action performed by a user at system level, let's said something like User has changed Order status, User has printed the Order and so on, that kind of log is what I need – ReynierPM Aug 22 '14 at 01:57

1 Answers1

1

Loggable will log any changes (insert, updates, removes) that you decide to log (it also allows for rollback due to it actually versioning your changes). I'm not sure about EntityAudit as I have never used it but I assume they are similar.

As for logging print out and what not then you should probably use some events that a listener could listen to and then update logs from that.

qooplmao
  • 17,622
  • 2
  • 44
  • 69