summaryrefslogtreecommitdiff
path: root/modules/watchdog
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 04:12:19 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 04:12:19 +0000
commit354e0c1f83c83bd134cd5d682f5ddcb2316f7c75 (patch)
tree83b60a5a709427c5a682771e63f2ec7b614d9f3f /modules/watchdog
parent515f7b41f16af341b345f553ec5409f973edd581 (diff)
downloadbrdo-354e0c1f83c83bd134cd5d682f5ddcb2316f7c75.tar.gz
brdo-354e0c1f83c83bd134cd5d682f5ddcb2316f7c75.tar.bz2
- #23651: Display referrer info with watchdog messages.
Diffstat (limited to 'modules/watchdog')
-rw-r--r--modules/watchdog/watchdog.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 64a580fef..68f460c35 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -141,6 +141,7 @@ function watchdog_event($id) {
$output .= ' <tr><th>'. t('Date') .'</th><td>'. format_date($watchdog->timestamp, 'large') .'</td></tr>';
$output .= ' <tr><th>'. t('User') .'</th><td>'. format_name($watchdog) .'</td></tr>';
$output .= ' <tr><th>'. t('Location') ."</th><td>". l($watchdog->location, $watchdog->location) ."</td></tr>";
+ $output .= ' <tr><th>'. t('Referrer') ."</th><td>". l($watchdog->referer, $watchdog->referer) ."</td></tr>";
$output .= ' <tr><th>'. t('Message') ."</th><td>$watchdog->message</td></tr>";
$output .= ' <tr><th>'. t('Severity') .'</th><td>'. $severity[$watchdog->severity] .'</td></tr>';
$output .= ' <tr><th>'. t('Hostname') ."</th><td>$watchdog->hostname</td></tr>";