Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11599

Incorrect log4j properties file in SLS sample conf

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-sls/src/main/sample-conf/log4j.properties

       

      log4j.appender.test=org.apache.log4j.ConsoleAppender
      log4j.appender.test.Target=System.out
      log4j.appender.test.layout=org.apache.log4j.PatternLayout
      log4j.appender.test.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

      log4j.logger=NONE, test

       

      This is invalid in current log4j version, if applied this, the test performance will be slow!

       

      I think the warn level is enough and required. The level < warn will effect performance

      Attachments

        Issue Links

          Activity

            People

              zuston Junfan Zhang
              zuston Junfan Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: