Index: includes/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.inc,v retrieving revision 1.93 diff -u -r1.93 install.inc --- includes/install.inc 8 Jun 2009 04:33:35 -0000 1.93 +++ includes/install.inc 14 Jun 2009 06:24:45 -0000 @@ -517,6 +517,9 @@ asort($module_list); $module_list = array_keys($module_list); $modules_installed = array_filter($module_list, '_drupal_install_module'); + foreach ($modules_installed as $module) { + watchdog('system', '%module module installed.', array('%module' => $module), WATCHDOG_INFO); + } if (!$disable_modules_installed_hook && !empty($modules_installed)) { module_invoke_all('modules_installed', $modules_installed); } Index: modules/system/system.test =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.test,v retrieving revision 1.50 diff -u -r1.50 system.test --- modules/system/system.test 13 Jun 2009 21:08:31 -0000 1.50 +++ modules/system/system.test 14 Jun 2009 06:24:46 -0000 @@ -118,6 +118,7 @@ // Check that hook_modules_installed and hook_modules_enabled hooks were invoked and check tables. $this->assertText(t('hook_modules_installed fired for aggregator'), t('hook_modules_installed fired.')); + $this->assertLogMessage('system', "%module module installed.", array('%module' => 'aggregator'), WATCHDOG_INFO); $this->assertText(t('hook_modules_enabled fired for aggregator'), t('hook_modules_enabled fired.')); $this->assertModules(array('aggregator'), TRUE); $this->assertTableCount('aggregator', TRUE);