Changeset 1427c50


Ignore:
Timestamp:
May 30, 2012 2:09:16 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c6fcdf9
Parents:
4e843701
Message:

Reduce log level to warn for normal EofException? when generating graphs

Location:
apps/routerconsole/java/src/net/i2p/router/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/StatSummarizer.java

    r4e843701 r1427c50  
    370370            throw new IOException("Error plotting: " + re.getMessage());
    371371        } catch (IOException ioe) {
    372             _log.error("Error rendering", ioe);
     372            if (_log.shouldLog(Log.WARN))
     373                _log.warn("Error rendering", ioe);
    373374            throw ioe;
    374375        } catch (OutOfMemoryError oom) {
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java

    r4e843701 r1427c50  
    197197            throw new IOException("Error plotting: " + re.getMessage());
    198198        } catch (IOException ioe) {
    199             _log.error("Error rendering", ioe);
     199            // typically org.mortbay.jetty.EofException extends java.io.EOFException
     200            if (_log.shouldLog(Log.WARN))
     201                _log.warn("Error rendering", ioe);
    200202            throw ioe;
    201203        } catch (OutOfMemoryError oom) {
Note: See TracChangeset for help on using the changeset viewer.