Testlog
Testlog is a Java library to interact with logging in JUnit tests.
Some main concepts are:
- Muting: make log entirely silent
- Assertions: assert that the log only contains specified messages of a given level
Testlog is released as open source, free software and available on GitHub. Issues (defects, enhancements) for Testlog are managed in the GitHub issues.
Also read: 6 Rules for Effective Logging In Unit Tests