Activate the sql logs for 2.0
Log SQL: only queries using more than seconds: 0.05
If you want to log all the queries, select the option
Goto
lib/setup/error_reporting.php
and replace
if ( $prefs['log_sql'] == 'y' ) $dbTiki->LogSQL();
with
if ( $prefs['log_sql'] == 'y' ) {
$dbTiki->LogSQL();
global $ADODB_PERF_MIN;
$ADODB_PERF_MIN = 0;
}After browse the table adodb_logsql
SELECT *FROM `adodb_logsql` ORDER BY `created` DESC;
The log can be reset with
TRUNCATE TABLE `adodb_logsql`;