projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d67b652
)
Issue #1239410 by cangeceiro, swentel, jbrown: Fixed watchdog() should use php's...
author
David Rothstein
Sat, 15 Sep 2012 19:33:29 +0000 (15:33 -0400)
committer
David Rothstein
Sat, 15 Sep 2012 19:33:29 +0000 (15:33 -0400)
includes/bootstrap.inc
patch
|
blob
|
blame
|
history
diff --git
a/includes/bootstrap.inc
b/includes/bootstrap.inc
index
5b86474
..
d1d78b5
100644
(file)
--- a/
includes/bootstrap.inc
+++ b/
includes/bootstrap.inc
@@
-1705,7
+1705,8
@@
function watchdog($type, $message, $variables = array(), $severity = WATCHDOG_NO
'request_uri' => $base_root . request_uri(),
'referer' => isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '',
'ip' => ip_address(),
- 'timestamp' => REQUEST_TIME,
+ // Request time isn't accurate for long processes, use time() instead.
+ 'timestamp' => time(),
);
// Call the logging hooks to log/process the message