From 49223cbc9c31e939cb292c606cdd117307aeb6d3 Mon Sep 17 00:00:00 2001 From: David RACODON Date: Fri, 30 Dec 2016 01:46:47 +0100 Subject: [PATCH] Add debug log: file being analyzed --- .../src/main/java/org/sonar/plugins/json/JSONSquidSensor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sonar-json-plugin/src/main/java/org/sonar/plugins/json/JSONSquidSensor.java b/sonar-json-plugin/src/main/java/org/sonar/plugins/json/JSONSquidSensor.java index 109d938..fdfcbf2 100644 --- a/sonar-json-plugin/src/main/java/org/sonar/plugins/json/JSONSquidSensor.java +++ b/sonar-json-plugin/src/main/java/org/sonar/plugins/json/JSONSquidSensor.java @@ -115,6 +115,7 @@ public void execute(SensorContext sensorContext) { boolean success = false; try { for (InputFile inputFile : fileSystem.inputFiles(mainFilePredicate)) { + LOG.debug("Analyzing " + inputFile.absolutePath() + "..."); issues.addAll(analyzeFile(sensorContext, inputFile, treeVisitors)); progressReport.nextFile(); }