I have a web application that is crashing at certain intervals. The standard logs are not giving enough information, so I would like to have a log of every MySQL query so I can look at the time stamp and see what query(ies) was(were) running at the time of the crash.
I was unable to find any results in search for how to do this. Can anyone explain how to enable this type of log?