<commit_before>package org.pitest.coverage.execute;

import org.pitest.testapi.Description;
import org.pitest.testapi.TestListener;
import org.pitest.testapi.TestResult;

public class ErrorListener implements TestListener {

  @Override
  public void onRunStart() {
  }

  @Override
  public void onTestStart(final Description d) {
  }

  @Override
  public void onTestFailure(final TestResult tr) {
    System.out.println("FAIL " + tr.getDescription() + " -> "
        + tr.getThrowable());
  }

  @Override
  public void onTestSkipped(final TestResult tr) {
  }

  @Override
  public void onTestSuccess(final TestResult tr) {

  }

  @Override
  public void onRunEnd() {
  }

}<commit_msg>Make the stack trace visible in the logs when a test fails without mutation<commit_after>package org.pitest.coverage.execute;

import org.pitest.testapi.Description;
import org.pitest.testapi.TestListener;
import org.pitest.testapi.TestResult;
import org.pitest.util.Log;

import java.util.logging.Level;
import java.util.logging.Logger;

public class ErrorListener implements TestListener {
  private static final Logger LOG = Log.getLogger();

  @Override
  public void onRunStart() {
  }

  @Override
  public void onTestStart(final Description d) {
  }

  @Override
  public void onTestFailure(final TestResult tr) {
    LOG.log(Level.SEVERE, tr.getDescription().toString(), tr.getThrowable());
  }

  @Override
  public void onTestSkipped(final TestResult tr) {
  }

  @Override
  public void onTestSuccess(final TestResult tr) {

  }

  @Override
  public void onRunEnd() {
  }

}
{'fraction_non_alphanumeric': 0.09828788839568801, 'fraction_numerical': 0.0, 'mean_word_length': 4.07395498392283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '938316', 'n_tokens_mistral': 502, 'n_tokens_neox': 487, 'n_words': 121}