Reduce log level to warn for normal EofException when generating graphs

This commit is contained in:
zzz
2012-05-30 14:09:16 +00:00
parent 4e84370128
commit 1427c502c0
2 changed files with 5 additions and 2 deletions

View File

@ -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);