allow devs to set $wgDevESLog = true to send logs from mediawiki to elastic search
fixing ambiguous method naem
Merge pull request #3101 from Wikia/PLATFORM-109

Dev logs to Elasticsearch