Page MenuHomePhabricator

mw-debug-repl: Make it possible to trigger verbose logging in shell.php
Closed, ResolvedPublic

Description

In T341197, mw-debug-repl was introduced to make it possible for deployers to run shell.php in Kubernetes. This ability helped me to solve some issues, but today, I ran into the need of seeing verbose logging while debugging in k8s. shell.php makes that possible via the --d 2 parameter (and theoretically, --log-all or --log-channels, but those seem to be broken ATM).

Let's expose that ability in mw-debug-repl as well!

Details

Related Changes in Gerrit:

Event Timeline

Change 949499 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/puppet@production] mw-debug-repl: Add --verbose

https://gerrit.wikimedia.org/r/949499

Change 949499 merged by Giuseppe Lavagetto:

[operations/puppet@production] mw-debug-repl: Add --verbose

https://gerrit.wikimedia.org/r/949499

Joe claimed this task.
Joe subscribed.

Patch merged, applied and I also verified it works. Thanks @Urbanecm_WMF :)