https://bugzilla.wikimedia.org/show_bug.cgi?id=48002

--- Comment #6 from Antoine "hashar" Musso <[email protected]> ---
Parsing the apache log is a smart idea to catch all issues that happens during
run time and we can't catch using static analysis. But since all QUnit jobs are
hitting the same virtualhost, you will end up with  erros from different
extensions in the apache log.

Instead we could use php auto_prepend_file that would let you inject whatever
PHP at the top of any PHP file being included (such as index.php / api.php ...
) 

http://www.php.net/manual/fr/ini.core.php#ini.auto-prepend-file

That let you write a small PHP File that fetch the Jenkins env variable
override the error_log and have something a bit more robust and easy to tweak.

Will have to make sure the injected code is only executed when PHP require a
MediaWiki entry point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to