Add backtraces to your query log and queries themselves.