Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
F15468540: D21115.id.diff
Fri, Apr 4, 1:56 AM
F15458305: D21115.diff
Sun, Mar 30, 10:59 PM
F15455090: D21115.diff
Sat, Mar 29, 10:09 PM
F15440192: D21115.id50289.diff
Wed, Mar 26, 11:21 AM
F15434640: D21115.id50286.diff
Tue, Mar 25, 4:46 AM
F15431395: D21115.diff
Mon, Mar 24, 12:07 PM
F15430705: D21115.diff
Mon, Mar 24, 8:37 AM
F15423062: D21115.id50289.diff
Sat, Mar 22, 12:38 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable