Page MenuHomePhabricator

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


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

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).