dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f026c2
)
RevisionStore logging use wfBacktrace instead of wfDebugBacktrace
author
addshore
<addshorewiki@gmail.com>
Thu, 15 Feb 2018 14:15:45 +0000
(14:15 +0000)
committer
addshore
<addshorewiki@gmail.com>
Thu, 15 Feb 2018 14:15:45 +0000
(14:15 +0000)
wfDebugBacktrace doesn't work very will with logstash.
The whole message ends up being too long and the log ends
up in the 'jsonTruncated' channel.
Instead use wfBacktrace which will be smaller as it just gives
us a string.
Change-Id: I5309ac2ad4592fb6dbb1474526d382893fb7e6c1
includes/Storage/RevisionStore.php
patch
|
blob
|
history
diff --git
a/includes/Storage/RevisionStore.php
b/includes/Storage/RevisionStore.php
index
d832104
..
e7c9060
100644
(file)
--- a/
includes/Storage/RevisionStore.php
+++ b/
includes/Storage/RevisionStore.php
@@
-252,7
+252,7
@@
class RevisionStore
if ( $title ) {
$this->logger->info(
__METHOD__ . ' fell back to READ_LATEST and got a Title.',
- [ 'trace' => wf
Debug
Backtrace() ]
+ [ 'trace' => wfBacktrace() ]
);
return $title;
}