[ 
https://issues.apache.org/jira/browse/HADOOP-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751808#comment-13751808
 ] 

Jonathan Eagles commented on HADOOP-8704:
-----------------------------------------

Kihwal, based on the code I see for handle in HandlerCollection, it seems like 
exceptions thrown from handlers are rethrown. I would guess that you would 
expect to log first withthe request handler and the use the context handler 
second to ensure that all requests are logged even in exceptional cases.

http://grepcode.com/file/repo1.maven.org/maven2/org.mortbay.jetty/jetty/6.1.26/org/mortbay/jetty/handler/HandlerCollection.java#HandlerCollection
                
> add request logging to jetty/httpserver
> ---------------------------------------
>
>                 Key: HADOOP-8704
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8704
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.23.3, 2.0.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-8704.patch, HADOOP-8704.patch
>
>
> We have been requested to log all the requests coming into Jetty/HttpServer 
> for security and auditing purposes. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to