From: addshore Date: Thu, 15 Feb 2018 14:15:45 +0000 (+0000) Subject: RevisionStore logging use wfBacktrace instead of wfDebugBacktrace X-Git-Tag: 1.31.0-rc.0~602 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=db8f62e57d624426953c88925f56c098e986faa0;p=lhc%2Fweb%2Fwiklou.git RevisionStore logging use wfBacktrace instead of wfDebugBacktrace 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 --- diff --git a/includes/Storage/RevisionStore.php b/includes/Storage/RevisionStore.php index d832104ca1..e7c9060411 100644 --- 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' => wfDebugBacktrace() ] + [ 'trace' => wfBacktrace() ] ); return $title; }