hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8704) add request logging to jetty/httpserver
Date Wed, 21 Aug 2013 20:37:52 GMT

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

Jonathan Eagles commented on HADOOP-8704:

Posted a patch to get this conversation started again. Essentially used the builtin jetty
logger NCSARequestLog that subclasses the appropriate RequestLogHandler.
Added configuration that allows each http server to opt into and configure logger options.
A separate jetty request log will be generated for each jetty port and bindaddress to alow
for single node and multinode use cases.

At first I thought about going down the approach of creating a special subclass for RequestLogHandler,
but thought that might be overkill especially since an slf4j implementation is shipping with
jetty 9. In this case I wonder if a small short term solution allows us to wait for a more
elaborate solution down the line.
> 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
> 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

View raw message