mw dev eventlogging
Releasev0.35.0 · cfeceb67
You probably want to have the following extensions enabled for eventlogging to function.
wfLoadExtensions( [ 'EventBus', 'EventStreamConfig', 'EventLogging', 'WikimediaEvents' ] );Using this will automatically configure a eventlogging server for MediaWiki.
$wgEventServices = [ '*' => [ 'url' => 'http://eventlogging:8192/v1/events' ] ];$wgEventServiceDefault = '*';$wgEventLoggingStreamNames = false;$wgEventLoggingServiceUri = "http://eventlogging.local.wmftest.net:" . parse_url($wgServer)['port'] . "/v1/events";$wgEventLoggingQueueLingerSeconds = 1;$wgEnableEventBus = defined( "MW_PHPUNIT_TEST" ) ? "TYPE_NONE" : "TYPE_ALL";Viewing logs
Section titled “Viewing logs”Checkout the logs of this service in order to see events coming in.
Documentation
Section titled “Documentation”Commands
Section titled “Commands”- mw dev eventlogging create — Create the containers
- mw dev eventlogging destroy — Destroy the containers
- mw dev eventlogging exec — Execute a command in the main container
- mw dev eventlogging image — Interact with the image used for the service
- mw dev eventlogging rebuild — Build images and recreate the containers
- mw dev eventlogging start — Start the containers
- mw dev eventlogging stop — Stop the containers
Global options
Section titled “Global options”See also
Section titled “See also”Page views: —Sessions: —