Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37814 Migrating from log4j 1 to log4j 2
  3. SPARK-37792

Spark shell sets log level to INFO by default

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • Spark Shell
    • None

    Description

      ./bin/spark-shell
      
      Setting default log level to "WARN".
      To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
      21/12/31 10:55:04 INFO SignalUtils: Registering signal handler for INT
      21/12/31 10:55:08 INFO HiveConf: Found configuration file null
      21/12/31 10:55:08 INFO SparkContext: Running Spark version 3.3.0-SNAPSHOT
      ...
      
      21/12/31 10:55:09 INFO BlockManager: Initialized BlockManager: BlockManagerId(driver, ..., None)
      ...
      Welcome to
            ____              __
           / __/__  ___ _____/ /__
          _\ \/ _ \/ _ `/ __/  '_/
         /___/ .__/\_,_/_/ /_/\_\   version 3.3.0-SNAPSHOT
            /_/
      
      Using Scala version 2.12.15 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_291)
      Type in expressions to have them evaluated.
      Type :help for more information.
      

      Attachments

        Issue Links

          Activity

            People

              viirya L. C. Hsieh
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: