title: How can I add or change data in the report generated by maven-surefire?
body: <p>I'm trying to create a reporting feature for my work application for my boss. I'm using the maven-surefire and maven-surefire-report plugins to create it. So far, I've been able to produce the .txt, .xml, and the .html files. I'm seeing a few things that I'd like to change tho:</p>
  
  <ol>
  <li><p>I'd like more information in the HTML report.  Ex. I'd like to be able to add log messages (log4j) and have the assertions as well as ONLY the log messages display in the report. I currently have <code>&lt;redirectTestOutputToFile&gt;true&lt;/redirectTestOutputToFile&gt;</code> which works but it's only adding info to the .txt and I'd like to try and keep out all the non-test fluff. I read that you can create a custom log4j.properties file but couldn't find much more on what it would look like. </p></li>
  <li><p>I'm seeing something weird where the report is counting test failures as their own test instead of test steps. I.e. I have 1 test with multiple assertions (boss wanted it this way) and instead of reporting this 1 test has multiple failures, it is just showing every failure as its own test. I'm using the <strong>ErrorCollector</strong> to do this. I just wrapped that class to make one that works specifically for me.</p></li>
  </ol>
  
  <p>I wasn't sure if I should include any actual code snippets here so please let me know if you guys need more information. Thanks SO!</p>