Commit c561b066 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

In "JsonMigrationAssistant", use log level "debug" instead of "info" to avoid spamming stdout

parent 60068778
......@@ -54,7 +54,7 @@ public class IOVadere {
public static VadereProject readProject(final String projectPath, final MigrationOptions options) throws IOException {
String path = Paths.get(projectPath, IOUtils.VADERE_PROJECT_FILENAME).toString();
String name = IOUtils.readTextFile(path);
logger.info(String.format("Read .project file from path %s", path));
logger.info(String.format("Read project: %s", path));
List<Scenario> scenarios = new ArrayList<>();
Set<String> scenarioNames = new HashSet<>();
......@@ -64,7 +64,7 @@ public class IOVadere {
MigrationAssistant migrationAssistant = MigrationAssistant.getNewInstance(options);
migrationStats = migrationAssistant.analyzeProject(projectPath);
logger.info("Analysed .scenario files.");
logger.info("Analyzed scenario files.");
for (File file : IOUtils.getFilesInScenarioDirectory(p)) {
try {
Scenario scenario =
......
......@@ -234,8 +234,8 @@ public class JsonMigrationAssistant extends MigrationAssistant {
String parentPath = dirName.equals(SCENARIO_DIR) ? SCENARIO_DIR + "/" : OUTPUT_DIR + "/" + scenarioFilePath.getParent().getFileName().toString() + "/";
migrationLogger.info(">> analyzing JSON tree of scenario <" + parentPath + node.get("name").asText() + ">");
logger.info(migrationLogger.last());
migrationLogger.info("Analyzing scenario file " + parentPath + node.get("name").asText());
logger.debug(migrationLogger.last());
Version version;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment