Welcome Guest, Not a member yet? Register   Sign In
Best place to intercept *all* DB calls
#1

[eluser]jedd[/eluser]
I want to be able to make a log of all DB calls - probably straight to a text file, just using a couple of bits of session information (user, time) and the literal string made to the DB. So probably about 5 lines of code.

Where's the best place to put such an intercept?

JIC, would there be any change to the answer if I wanted to log to a DB table (still using the app's DB) instead?


Messages In This Thread
Best place to intercept *all* DB calls - by El Forum - 03-01-2009, 07:22 AM
Best place to intercept *all* DB calls - by El Forum - 03-01-2009, 08:23 AM
Best place to intercept *all* DB calls - by El Forum - 03-01-2009, 08:24 AM
Best place to intercept *all* DB calls - by El Forum - 03-01-2009, 08:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB