Manual:$wgLogQueries

Details
Not used in MediaWiki core code. Set false in DefaultSettings.php ; used by to enable logging of enquiries.