Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0
    • logging
    • None
    • Incompatible change, Reviewed
    • Hide
      Use Slf4jRequestLog instead of the log4j HttpRequestLogAppender in HttpServer.

      The request log is disabled by default in conf/log4j.properties by the following lines:

      # Disable request log by default, you can enable this by changing the appender
      log4j.category.http.requests=INFO,NullAppender
      log4j.additivity.http.requests=false

      Change the 'NullAppender' to what ever you want if you want to enable request log.

      Notice that, the logger name for master status http server is 'http.requests.master', and for region server it is 'http.requests.regionserver'
      Show
      Use Slf4jRequestLog instead of the log4j HttpRequestLogAppender in HttpServer. The request log is disabled by default in conf/log4j.properties by the following lines: # Disable request log by default, you can enable this by changing the appender log4j.category.http.requests=INFO,NullAppender log4j.additivity.http.requests=false Change the 'NullAppender' to what ever you want if you want to enable request log. Notice that, the logger name for master status http server is 'http.requests.master', and for region server it is 'http.requests.regionserver'

    Description

      To remove the direct dependency on log4j in hbase-http server.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: