Commit 7e832144 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

removing excessive logging

parent b994cce6
......@@ -67,7 +67,6 @@ object QuantumEspressoParser extends SimpleExternalParserGenerator(
val extraInfo: List[(String, jn.JString)] = m.groupNames.map { (name: String) =>
name -> jn.JString(m.group(name))
}(breakOut)
logger.debug(s"$filePath matches parser $name (extraInfo:${JsonUtils.normalizedStr(jn.JObject(extraInfo))}")
Some(ParserMatch(mainFileMatchPriority, mainFileMatchWeak, jn.JObject(extraInfo)))
case None =>
fallbackRe.findFirstMatchIn(str) match {
......@@ -75,10 +74,8 @@ object QuantumEspressoParser extends SimpleExternalParserGenerator(
val extraInfo: List[(String, jn.JString)] = m.groupNames.map { (name: String) =>
name -> jn.JString(m.group(name))
}(breakOut)
logger.debug(s"$filePath might match parser $name (extraInfo:${JsonUtils.normalizedStr(jn.JObject(extraInfo))}")
Some(ParserMatch(mainFileMatchPriority - 1, true, jn.JObject(extraInfo)))
case None =>
logger.debug(s"$filePath does *NOT* match parser $name")
None
}
}
......
Supports Markdown
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