Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
F18809528: D21115.id.diff
Sun, Oct 19, 2:51 PM
F18806658: D21115.diff
Sat, Oct 18, 8:54 PM
F18741064: D21115.id50289.diff
Thu, Oct 2, 8:23 AM
F18657592: D21115.diff
Sep 23 2025, 2:34 AM
F18610205: D21115.diff
Sep 14 2025, 4:25 AM
F18384521: D21115.diff
Aug 29 2025, 12:15 AM
F18086933: D21115.id50286.diff
Aug 6 2025, 1:15 AM
F18058980: D21115.id50289.diff
Aug 4 2025, 10:50 AM
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