Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
F18086933: D21115.id50286.diff
Wed, Aug 6, 1:15 AM
F18058980: D21115.id50289.diff
Mon, Aug 4, 10:50 AM
F18027488: D21115.diff
Sat, Aug 2, 10:31 PM
Unknown Object (File)
Jun 30 2025, 10:04 AM
Unknown Object (File)
Jun 28 2025, 9:39 PM
Unknown Object (File)
Jun 5 2025, 4:50 PM
Unknown Object (File)
May 11 2025, 12:49 AM
Unknown Object (File)
Apr 20 2025, 8:47 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