Develop a Monolog logging configuration for MediaWiki and test it in the beta cluster.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T844 Get PSR-3 patches merged and in use on WMF cluster | |||
Resolved | bd808 | T845 Test monolog logging provider in beta |
Event Timeline
Change 175619 had a related patch set uploaded (by BryanDavis):
beta: Fix logging redis address
Change 175729 had a related patch set uploaded (by BryanDavis):
beta: Fix typo
Change 175733 had a related patch set uploaded (by BryanDavis):
beta: Pass global into closure for redis connection
Change 175733 merged by jenkins-bot:
beta: Pass global into closure for redis connection
Config is live in beta and seems to not be throwing PHP errors to the HHVM log now, but the redis transport seems to still not be working. Next step will be to verify that connecting from the mediawiki servers to the logstash redis instance actually works.
I think the redis transport is working fine now but logstash is missing rules to tag the events coming in via redis for storage in elasticsearch. sudo tcpdump port 6379 on deployment-logstash1 shows lots of tcp traffic from deployment-mediawiki0[12].
Change 175896 had a related patch set uploaded (by BryanDavis):
logstash: Rules for processing MW input via Redis