0

I enable maven logging by setting maven quiet property to false. Now I want to verify the output in a junit test. How can I get the this logger content ?

hemanik
  • 965
  • 3
  • 14
  • 33
  • 1
    It sounds like you're using the tools in a wrong way. Why do you want to check the Maven output in a JUnit test? – Andrei Aug 14 '17 at 14:27
  • Possible duplicate of [How to do a JUnit assert on a message in a logger](https://stackoverflow.com/questions/1827677/how-to-do-a-junit-assert-on-a-message-in-a-logger) – jmehrens Aug 14 '17 at 16:26

0 Answers0