Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39785

Use setBufferedIo instead of withBufferedIo to cleanup log4j2 deprecated api usage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Spark Core
    • None

    Description

       fix the following log4j2 compilation warning

      [WARNING] /basedir/spark-source/core/src/main/scala/org/apache/spark/util/logging/DriverLogger.scala:69: [deprecation @ org.apache.spark.util.logging.DriverLogger.addLogAppender.log4jFileAppender | origin=org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder.withBufferedIo | version=] method withBufferedIo in class Builder is deprecated
       

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: