-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 8.10
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Tests
Since NXP-9962 we can catch log and do assertion.
This is interesting to test ERROR and WARN messages, in this case we don't want to have the CONSOLE appender output because it creates noise in the test output.
There is no way to trick the log4j.xml.
A workaround can be to change temporary the console thresold, but this hide all events.
We need an additional option to @LogCaptureFeature.FilterOn like hideConsoleEvent=true to do this.
- is required by
-
NXP-9962 JUnit test feature to capture logs from log4j and add assertion
- Resolved