Thanks Bryan, it is great to see this happening!
On Thu, Jan 29, 2015 at 11:45 PM, Bryan Davis bd808@wikimedia.org wrote:
PSR-3 logging has been fully supported in MediaWiki since1.25wmf5. When thinking about Wikimedia cluster logging, events emitted at warning and error levels should be things that you want deployers and operations staff to see in the Logstash "fatalmonitor" view and recorded to other durable logging stores. Events at info level may or may not be captured similar to how we currently enable some but not all wfDebugLog channels. Events at debug level will probably only be captured in beta labs and similar low volume debugging environments.
Monolog has a logger called FingersCrossed which buffers info level events and logs them together with the next error (or discards them at the end of request if there is no error). Might be useful for debugging, although it would increase disk space and memory use.
The wfDebug* methods are not being deprecated officially yet but it would be great if people started treating them like they were deprecated when writing new classes.
So why not actually deprecate them?