Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
Typically, in unit tests, you want to test some misconfigured setup, that should not break the system, but will result in error or warning logs. You do not want these logs to be in the unit test output, as they are expected. We need a utility class that can temporarily change the log level for some method invocation, and then switch it back again