Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
F19697950: D21115.id50286.diff
Tue, Feb 10, 4:59 PM
F19668347: D21115.id.diff
Sat, Feb 7, 6:49 PM
F19532431: D21115.id.diff
Jan 20 2026, 10:54 AM
F19528673: D21115.id.diff
Jan 19 2026, 10:56 AM
F19511002: D21115.diff
Jan 11 2026, 8:03 PM
F19507598: D21115.diff
Jan 9 2026, 9:58 PM
F19507596: D21115.diff
Jan 9 2026, 9:57 PM
F19467977: D21115.diff
Jan 3 2026, 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