Manual talk:MonologSpi.php

Minimal example?
It would be really helpful to explain the defaults, and give an example configuration that overrides as little as possible. The maximal cases are covered here, but it's generally bad practice to unnecessarily override defaults, because your configuration will break as those defaults change.

Adamw (talk) 19:30, 10 August 2015 (UTC)


 * ✅ I’ve added a minimal useful example. It’s still fairly long because, as far as I can tell from the   code, there are no defaults, so even a simple line formatter has to be configured explicitly. --Lucas Werkmeister (WMDE) (talk) 12:46, 21 July 2017 (UTC)
 * Another thing useful is a small note explaining how the log reaches LogStash (or a pointer to such a note), for example a schema log → redis → → ElasticSearch → LogStash. --Dereckson (talk) 23:54, 21 March 2018 (UTC)
 * There is a slightly out of date, but mostly correct, explanation of the Wikimedia production cluster configuration at Logstash. The current configuration uses the  to send debug log events to Logstash. The log events are processed by various Logstash modules and then finally stored in an Elasticsearch cluster. The data from that cluster is searchable using a Kibana instance. This data pipeline is not the only way that MediaWiki debug log events could be fed into Elasticsearch, but it is one with working (but complicated) examples. --BDavis (WMF) (talk) 03:21, 22 March 2018 (UTC)

How to not log
Would be helpful to give an example where @default is redirected to null and only specific channels are logged. Nikerabbit (talk) 15:06, 1 November 2018 (UTC)