Making Maven Surefire to log stack trace in Console and File
Asked Answered
A

0

7

Is it possible to configure Surefire to log the stack trace in both, Console and File. By default everything is logged in Console. Using this parameter redirectTestOutputToFile=true, the log is redirected to the '-output.txt' file under target/surefire-reports.

I need to log to Console and File at the same time, is that possible?

Thanks,

Artless answered 27/5, 2014 at 14:0 Comment(1)
Configure you logging framework accordingly.Jasmin

© 2022 - 2024 — McMap. All rights reserved.