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

Revert the changes on hbase-daemon.sh after switching to log4j2 properties file

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-3
    • logging, scripts
    • None
    • Reviewed
    • Hide
      Remove the HBASE_ROOT_LOGGER_LEVEL, HBASE_ROOT_LOGGER_APPENDER, HBASE_SECURITY_LOGGER_LEVEL and HBASE_SECURITY_LOGGER_APPENDER environment variables as log4j 2.17.2 supports set level and appenders at once.
      You can still use HBASE_ROOT_LOGGER and HBASE_SECURITY_LOGGER environment variables.
      Show
      Remove the HBASE_ROOT_LOGGER_LEVEL, HBASE_ROOT_LOGGER_APPENDER, HBASE_SECURITY_LOGGER_LEVEL and HBASE_SECURITY_LOGGER_APPENDER environment variables as log4j 2.17.2 supports set level and appenders at once. You can still use HBASE_ROOT_LOGGER and HBASE_SECURITY_LOGGER environment variables.

    Description

      In HBASE-19577, we changed to use two ENVVARs to specify log level and appender, so we also changed hbase-daemon.sh to use two ENVVARs. In HBASE-26723 we switched back to use one ENVVAR, so we should also revert the changes in hbase-daemon.sh.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: