Commit 17144d90 authored by hengwen's avatar hengwen
Browse files

Update log

parent 6524d26f
......@@ -143,7 +143,7 @@ public class SimulationControllerImpl extends SimControllerGrpc.SimControllerImp
this.mapInitialized = true;
logger.info("Map set to %s\n", mapPath);
logger.info("Map set to {}", mapPath);
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
......@@ -217,7 +217,7 @@ public class SimulationControllerImpl extends SimControllerGrpc.SimControllerImp
List<Vertex> result = (List<Vertex>) findPath.getOutputs().get(ConnectionEntry.FIND_PATH_path.toString());
for (Vertex v : result) {
logger.info("%s, %s\n", v.getOsmId(), Arrays.toString(v.getPosition().toArray()));
logger.info("{}, {}", v.getOsmId(), Arrays.toString(v.getPosition().toArray()));
}
return result;
}
......
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