Skip to content

Commit

Permalink
feat: improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Aug 21, 2024
1 parent 8948eb5 commit 49ffc49
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract class MergeToolExecutor {
private static Logger LOG = LogManager.getLogger(MergeToolExecutor.class)

MergeScenarioExecutionSummary runToolForMergeScenario(Path scenario) {
LOG.trace("Starting execution of merge scenario with tool ${getToolName()}")
LOG.trace("Starting execution of tool ${getToolName()} in ${scenario}")

List<Long> executionTimes = new ArrayList<>()
def outputFilePath = scenario.resolve("merge." + getToolName().toLowerCase() + ".java")
Expand Down Expand Up @@ -43,7 +43,7 @@ abstract class MergeToolExecutor {
averageTime,
this.getToolName())

LOG.trace("Finished execution of merge scenario with tool ${summary.tool} in ${summary.time}ns with ${summary.result.toString()}")
LOG.trace("Finished execution of tool ${summary.tool} in ${scenario}. Execution took ${summary.time}ns and finished with ${summary.result.toString()} status")
return summary
}

Expand Down

0 comments on commit 49ffc49

Please sign in to comment.