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