Quiet down log message about parsing JSON. (Though it is kind of interesting just how slow it is.)

This commit is contained in:
Jesse Glick committed 2020-01-02 21:29:35 -05:00
1 parent af7c4bece2
commit 29fbc9c451
1 file changed
+1 -1
@@ -331,7 +331,7 @@ public class UpdateSite {
long start = System.nanoTime();
try {
JSONObject o = JSONObject.fromObject(df.read());
LOGGER.info(() -> String.format("Loaded and parsed %s in %.01fs", df, (System.nanoTime() - start) / 1_000_000_000.0));
LOGGER.fine(() -> String.format("Loaded and parsed %s in %.01fs", df, (System.nanoTime() - start) / 1_000_000_000.0));
return o;
} catch (JSONException | IOException e) {
LOGGER.log(Level.SEVERE,"Failed to parse "+df,e);