Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
So, the mildly annoying thing when you turn on civicrm_debug_query_log is it creates 2 log files - the reason is that the log file name is based on an encryption of the dsn & the userFrameworkResourceURL
CRM_Core_Error::createDebugLogger()
$fileName = "{$config->configAndLogDir}CiviCRM." . $comp . md5($config->dsn . $config->userFrameworkResourceURL) . '.log';
BUT the userFrameworkURL is not set @ the start
Shall we just make it
$fileName = "{$config->configAndLogDir}CiviCRM." . $comp . md5($config->dsn ) . '.log';
?