On Wed, Feb 12, 2014 at 11:20 AM, Bryan Davis bd808@wikimedia.org wrote:
Yesterday I opened Gerrit change 112699 [0] with a proof of concept implementation for the Structured logging RFC [1] that leverages PSR-3 and Monolog. I'm sure it's not ready to merge yet but hopefully it will get some attention from interested parties to move this discussion forward.
After a week the criticism of my patch seems to boil down to complaints about usage of Monolog, both packaging and MW facing interface. Does anyone have a constructive suggestion on how to better incorporate a third party library dependency into core?
I really don't want the answer to be "that's too hard, let's roll our own logger". It would be pretty easy to satisfy the current logging needs of the wiki[pm]edia production cluster by going down that route but that doesn't really help others get structured logging without replicating the same infrastructure (and requirements).
I agree that what I'm doing here is not elegant but I think it could be functional in the near term. in the long view the third party library issue needs a better solution.
Bryan