HomePhabricator

Reduce the verbosity of the "Aphlict" log

Description

Reduce the verbosity of the "Aphlict" log

Summary:
See PHI1692. Currently, the Aphlict log is ridiculously verbose. As an initial pass at improving this:

  • When starting in "debug" mode, pass "--debug=1" to Node.
  • In Node, separate logging into "log" (lower-volume, more-important messages) and "trace" (higher-volume, less-important messages).
  • Only print "trace" messages in "debug" mode.

Test Plan: Ran Aphlict in debug and non-debug modes. Behavior unchanged in debug mode, but log has more sensible verbosity in non-debug mode.

Differential Revision: https://secure.phabricator.com/D21115

Details

Provenance
epriestleyAuthored on Apr 14 2020, 8:17 PM
epriestleyPushed on Apr 14 2020, 8:24 PM
Differential Revision
D21115: Reduce the verbosity of the "Aphlict" log
Parents
rP59c855276b0b: Provide a "--local" flag to "bin/conduit call" to force in-process execution
Branches
Unknown
Tags
Unknown
Build Status
Buildable 24107
Build 33191: Run Core Tests