$wgDebugLogGroups logging configuration supports the concept of a sampled log. This can be used on high frequency logging events to probabilistically emit a log message. WMF's production logging configuration uses this to log the api and GlobalTitleFail log channels. The MWLoggerLegacyLogger class supports this type of log sampling, but no current Monolog handlers allow specifying a sampling factor.
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | • bd808 | T844 Get PSR-3 patches merged and in use on WMF cluster | |||
| Resolved | • bd808 | T76759 Deploy Monolog logging configuration for WMF production | |||
| Resolved | • bd808 | T85067 Monolog logging configuration should support sampled logging |
Event Timeline
Comment Actions
Change 181346 had a related patch set uploaded (by BryanDavis):
monolog: MWLoggerMonologSamplingHandler
Comment Actions
Change 181349 had a related patch set uploaded (by BryanDavis):
beta: honor log sampling for logstash
Comment Actions
Change 181350 had a related patch set uploaded (by BryanDavis):
monolog: honor log sampling for logstash
Comment Actions
Change 181349 merged by jenkins-bot:
beta: honor log sampling and levels for logstash
Comment Actions
Change 181350 merged by jenkins-bot:
monolog: honor log sampling and levels for logstash