Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
F19467977: D21115.diff
Sat, Jan 3, 8:54 PM
F19164334: D21115.diff
Mon, Dec 15, 5:48 PM
F19054851: D21115.id50289.diff
Nov 28 2025, 2:58 PM
F19054332: D21115.id50289.diff
Nov 28 2025, 12:11 PM
F18922020: D21115.id.diff
Nov 9 2025, 2:58 PM
F18906762: D21115.id.diff
Nov 8 2025, 8:19 PM
F18809528: D21115.id.diff
Oct 19 2025, 2:51 PM
F18806658: D21115.diff
Oct 18 2025, 8:54 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