Until recently (a few weeks ago at most), if you used the WikimediaDebug extension to enable debug mode and view the logs in logstash, these logs included every DB query made by the code. This is no longer the case. DB connections are logged, query errors are logged, and memcached requests are logged, but DB queries are not, and they're one of the most valuable parts of the debug log. Please bring them back.
Steps to reproduce:
- Enable WikimediaDebug browser extension
- Choose mwdebug1001 (or 1002), tick the "Log" check box, and set the toggle button to "ON"
- Go to http://en.wikipedia.org/wiki/Special:Recentchanges. This request definitely makes DB queries.
- Click the "Debug Logs" link at the bottom
- Try to find log entries for DB queries. There aren't any.