diff --git a/modules/search.module b/modules/search.module
index 7732a944a70..0a2058ae4dc 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -481,6 +481,7 @@ function search_view() {
// Log the search keys:
watchdog('search',
t('Search: %keys (%type).', array('%keys' => "$keys", '%type' => module_invoke($type, 'search', 'name'))),
+ WATCHDOG_NOTICE,
l(t('results'), 'search', NULL, 'keys='. urlencode($keys) . '&type='. urlencode($type))
);
diff --git a/modules/search/search.module b/modules/search/search.module
index 7732a944a70..0a2058ae4dc 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -481,6 +481,7 @@ function search_view() {
// Log the search keys:
watchdog('search',
t('Search: %keys (%type).', array('%keys' => "$keys", '%type' => module_invoke($type, 'search', 'name'))),
+ WATCHDOG_NOTICE,
l(t('results'), 'search', NULL, 'keys='. urlencode($keys) . '&type='. urlencode($type))
);