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

Felix Meschberger closed SLING-214.
-----------------------------------

    Resolution: Fixed

With making use of the new RequestLogger service in the SlingMainServlet in 
Rev. 635890 this issue can be closed.

Request Log information is now logged for each request which enters the 
SlingMainServlet.service(HttpServletRequest, HttpServletResponse) method. Any 
request, which fails to authenticate, that is which returns false in the 
handleSecurity method is not currently logged by the RequestLogger.

> RequestLogger logs incorrect information
> ----------------------------------------
>
>                 Key: SLING-214
>                 URL: https://issues.apache.org/jira/browse/SLING-214
>             Project: Sling
>          Issue Type: Bug
>          Components: Core
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The RequestLogger is currently implemented as a Request Level filter. In case 
> of uncaught runtime exceptions, this logger may log incorrect information, 
> that is a positive status 200 may be logged instead of the actual 500 
> (internal server error) caused by the runtime exception.
> The fix is to actually not implement the request logger as a request level 
> filter but simply "around" the SlingMainServlet.service method, such that we 
> may get the correct information, which may be injected by the error handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to