monero-project/kovri

Disable log output spam when running unit-tests

anonimal opened this issue · 0 comments


By submitting this issue, I confirm the following:

  • I have read and understood the developer guide in kovri-docs.
  • I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
  • I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.

The libs will, by default, use the boost.log singleton and proceed to call all LOG calls. This creates a lot of confusion/noise for those running the tests ("look at all these errors and warnings! what's going on?!?!").

Running boost.test --log_level=nothing on the test binary will not resolve the issue as doing that will only affect boost.test specific log messages.