Magento is logging SQL queries even after I turned logging off in /lib/Varien/Db/Adapter/Pdo/Mysql.php. Wondering if there's something I'm missing?
These are the spots that are set to false:
protected $_debug = false;
/**
* Minimum query duration time to be logged
*
* @var float
*/
protected $_logQueryTime = 2.5;
/**
* Log all queries (ignored minimum query duration time)
*
* @var bool
*/
protected $_logAllQueries = false;
/**
* Add to log call stack data (backtrace)
*
* @var bool
*/
protected $_logCallStack = false;
/**
* Path to SQL debug data log
*
* @var string
*/
protected $_debugFile = 'var/debug/pdo_mysql.log';
I need to regularly delete var/debug/pdo_mysql.log or it will grow to several gigs in size.
Debug mode is disabled in the admin area (System - Configuration - Developer - Debug set to no).
Looking for some advice. Thanks in advance