Cleaning up.
Enable logging of all MySQL queries for debugging.