Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4810

Clean up IPC logging configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • IPC/RPC
    • None

    Description

      The current IPC classes – HBaseClient, HBaseServer, HBaseRPC, WritableRpcEngine, etc. – use mangled package names (org.apache.hadoop.ipc) when obtaining loggers so that we can enable "debug" logging on the full org.apache.hadoop.hbase base package and not have the noise from per-request log messages drown out other important information. This has the desired effect, but is extremely hacky and counter-intuitive.

      I think it would be better to fix the package name used by these classes (use org.apache.hadoop.hbase.ipc), and change the noisy, per-request messages to be logged at "trace" level. This will keep those messages out of standard debug output, while allowing the log4j configuration when you actually wish to see them to be a little more intuitive.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ghelmling Gary Helmling
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: