Topic on Talk:MediaWiki-Docker/Configuration recipes/EventLogging

Summary by Phuedx (WMF)

The trick is to add `$wgEnableEventBus = 'TYPE_EVENT';` to LocalSettings.php.

DLynch (WMF) (talkcontribs)

This recipe works great for logging from JS, but doesn't seem to work when logging events via `\EventLogging::submit` in PHP. No errors or logging on the subject (beyond the "[EventBus] Using EventServiceDefault * for stream eventlogging_EditAttemptStep. destination_event_service is not configured." messages), just a silent lack of the message actually appearing in eventgate...

DLynch (WMF) (talkcontribs)

This was worked out by matmarex. The trick is to add `$wgEnableEventBus = 'TYPE_EVENT';` to LocalSettings.php. The recipe has been updated to include this.