Commit 37aba821 authored by hengwen's avatar hengwen
Browse files

Reduce log

parent 5d6e891b
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph;
import ch.qos.logback.classic.Level;
import de.rwth.monticore.EmbeddedMontiArc.simulators.commons.controller.commons.Vertex;
import de.rwth.monticore.EmbeddedMontiArc.simulators.controller.library.structures.Graph;
import org.slf4j.Logger;
......@@ -64,6 +65,9 @@ public class MetisGraph {
* @param mapPath abs path to the map
*/
public MetisGraph(String mapPath, int numSectors) throws FileNotFoundException {
// set root logger level to info
((ch.qos.logback.classic.Logger) logger).getLoggerContext().getLoggerList().get(0).setLevel(Level.INFO);
this.mapPath = mapPath;
this.numSectors = numSectors;
......
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