mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
Quiet down log message about parsing JSON. (Though it is kind of interesting just how slow it is.)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user