You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2018/07/09 07:31:00 UTC

[jira] [Resolved] (WICKET-6565) ResponseIOException logged as an error in DefaultExceptionMapper

     [ https://issues.apache.org/jira/browse/WICKET-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6565.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 9.0.0
                   8.1.0

connection lost is not an error, logging with debug is sufficient

> ResponseIOException logged as an error in DefaultExceptionMapper
> ----------------------------------------------------------------
>
>                 Key: WICKET-6565
>                 URL: https://issues.apache.org/jira/browse/WICKET-6565
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.0.0, 6.28.0
>            Reporter: Daniel Stoch
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 8.1.0, 9.0.0
>
>
> DefaultExceptionMapper handles by default some "internal" exceptions. ResponseIOException is one of them, but when this kind of exception occurs then an error is logged in DefaultExceptionMapper.mapExpectedExceptions(...):
> {code}
>  logger.error("Connection lost, give up responding.", e); 
> {code}
> Why it is logged as an error, which means something is wrong in our application? If it is 
> handled transparently by a framework then it should not be logged as error.
> Maybe it should be logged as debug or warning? Maybe we don't need the stacktrace either. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)