WikimediaDebug allows the user to set verbose logging mode, in which case all logs are recorded regardless of the levels configured in $wmgMonologChannels. This is very useful but has some limitations:
- Installing a browser extension is fine for developers, but might be too much effort for users who report a hard-to-reproduce bug and are asked to help diagnose it.
- The browser extension is only supported for Firefox and Chrome.
- Mobile Chrome does not allow installing extensions.
- The extension routes all traffic to a debug host. This is useful for debugging, but not always good for diagnosing problems (which might be related to cross-DC requests etc).
We should have a lightweight way to trigger verbose logging, probably via a cookie.