Page MenuHomePhabricator

Reduce the verbosity of the "Aphlict" log
ClosedPublic

Authored by epriestley on Apr 14 2020, 8:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 8:01 PM
Unknown Object (File)
Tue, Jan 21, 9:15 AM
Unknown Object (File)
Thu, Jan 2, 5:39 AM
Unknown Object (File)
Dec 31 2024, 2:59 AM
Unknown Object (File)
Dec 31 2024, 1:58 AM
Unknown Object (File)
Dec 25 2024, 8:09 AM
Unknown Object (File)
Dec 18 2024, 2:03 PM
Unknown Object (File)
Dec 17 2024, 7:11 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