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

Switch to use log4j2.properties file to configure log4j2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-3
    • logging
    • None
    • Reviewed
    • Hide
      Use log4j2.properties file instead of log4j2.xml.

      With LOG4J2-3341 in place, we could still make use of the old syntax where we could specify level and appenders at once, so we do not need to do splitting in our bash script and also make it less hurt for our users to upgrade.
      Show
      Use log4j2.properties file instead of log4j2.xml. With LOG4J2-3341 in place, we could still make use of the old syntax where we could specify level and appenders at once, so we do not need to do splitting in our bash script and also make it less hurt for our users to upgrade.

    Description

      After LOG4J2-3341, we could set the level and appender at once in properties file, so we do not need to split the ROOT_LOGGER config in the start up scripts any more.

      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: