I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 1427c502 authored by zzz's avatar zzz
Browse files

Reduce log level to warn for normal EofException when generating graphs

parent 4e843701
No related branches found
No related tags found
No related merge requests found
......@@ -369,7 +369,8 @@ public class StatSummarizer implements Runnable {
_log.error("Error rendering", re);
throw new IOException("Error plotting: " + re.getMessage());
} catch (IOException ioe) {
_log.error("Error rendering", ioe);
if (_log.shouldLog(Log.WARN))
_log.warn("Error rendering", ioe);
throw ioe;
} catch (OutOfMemoryError oom) {
_log.error("Error rendering", oom);
......
......@@ -196,7 +196,9 @@ class SummaryRenderer {
_log.error("Error rendering", re);
throw new IOException("Error plotting: " + re.getMessage());
} catch (IOException ioe) {
_log.error("Error rendering", ioe);
// typically org.mortbay.jetty.EofException extends java.io.EOFException
if (_log.shouldLog(Log.WARN))
_log.warn("Error rendering", ioe);
throw ioe;
} catch (OutOfMemoryError oom) {
_log.error("Error rendering", oom);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment