mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Make bin/phd debug
quieter by default
Summary: By default, `bin/phd debug` activates `--trace`, which is incredibly verbose. Instead, be moderately verbose by default, and only include tracing if `--trace` was passed to `bin/phd debug`. See also D15422. Test Plan: - Ran `bin/phd debug task`, got moderate amount of most useful debug output. - Ran `bin/phd debug task --trace`, got very verbose, detailed low-level debug output. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15423
This commit is contained in:
parent
19eee427ad
commit
16a584ac7e
1 changed files with 3 additions and 1 deletions
|
@ -158,8 +158,10 @@ abstract class PhabricatorDaemonManagementWorkflow
|
|||
|
||||
$this->printLaunchingDaemons($daemons, $debug);
|
||||
|
||||
$trace = PhutilArgumentParser::isTraceModeEnabled();
|
||||
|
||||
$flags = array();
|
||||
if ($debug || PhabricatorEnv::getEnvConfig('phd.trace')) {
|
||||
if ($trace || PhabricatorEnv::getEnvConfig('phd.trace')) {
|
||||
$flags[] = '--trace';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue