_DEBUG_SLOW_QUERIES

This constant makes it possible (since SPIP version 3.0.9) to trace requests which are too slow.

To trace too slow queries in the "slow-queries" log file (MySQL only), you can define the constant _DEBUG_SLOW_QUERIES in your file config/mes_options.php (see the article dedicated to it).

example :

// add trace information to mysql's slow queries logs
define('_DEBUG_SLOW_QUERIES', true);

Author jack Published :

Translations : English, français, Nederlands