Page MenuHomePhabricator

Log events from the MediaWiki fatal channel not appearing in Logstash/Kibana
Closed, DuplicatePublic

Description

Reported by @Tgr on irc. Fatal errors are showing up in /a/mw-log/fatal.log on fluorine that can't be found in the Logstash managed data using Kibana.

Example fatal.log entry:

2016-06-08 14:43:09 [70a71d014033966895244d68] labtestweb2001 labtestwiki 1.28.0-wmf.5 fatal ERROR: [4324a73e] PHP Fatal Error: syntax error, unexpected '{' {"exception_id":"4324a73e"}
[Exception ErrorException] (/srv/mediawiki/php-authmanager/extensions/OpenStackManager/nova/OpenStackNovaUser.php:507) PHP Fatal Error: syntax error, unexpected '{'
  #0 [internal function]: MWExceptionHandler::handleFatalError()
  #1 {main}

Event Timeline

bd808 created this task.Jun 8 2016, 2:59 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 8 2016, 2:59 PM
Tgr added a comment.Jun 8 2016, 7:44 PM

exception.log entries also do not appear in logstash. Some errors appeared in neither places (I checked fatal.log, exception.log and hhvm.log) - the one I remember was a class not found error (I had to retrace the steps in the code in eval.php to find out what's wrong).