From 311e419b286ee2059696d9b574ba1066cc19b971 Mon Sep 17 00:00:00 2001 From: Sunil Pawar Date: Mon, 20 Aug 2018 17:55:01 +0530 Subject: [PATCH] use domain id in log file name, easy to find correct log file --- CRM/Core/Error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 97ecefd446b7..a1bd11ed2f77 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -695,7 +695,7 @@ protected static function generateLogFileName($prefix) { $prefixString = $prefix ? ($prefix . '.') : ''; $hash = self::generateLogFileHash($config); - $fileName = $config->configAndLogDir . 'CiviCRM.' . $prefixString . $hash . '.log'; + $fileName = $config->configAndLogDir . 'CiviCRM.' . CIVICRM_DOMAIN_ID . '_' . $prefixString . $hash . '.log'; // Roll log file monthly or if greater than 256M. // Size-based rotation introduced in response to filesize limits on