I have my log file, but I get extraneous information on each line, for example, “29 Query”, and I can’t say, but it looks like the logged queries are an interpretation of how MySQL processes each query internally. Is there a way to automatically log each request as it is executed by the application without additional information added to the MySQL log? Thanks!
EDIT:
As part of offering generosity, let me explain my situation. We use Magento Commerce, which has an EAV database architecture. Keeping track of something down and where it is stored is an absolute nightmare. My thought was to insert the product into the database in the application, and then register every request that was executed during this process. This worked well, but there are a ton of other circles around the queries in the logs. I really need something like this:
1.) SELECT * FROM <TABLE>;
2.) UPDATE <TABLE> SET <VALUE> = <VALUE>;
3.) ...
4.) ...
Something simple that tells me what has been done, so I don’t have to go through the screening through the controllers and models to try to get it all. I do not need dates, times, line numbers or anything else.
user4903
source
share