Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Spark/Spark2x/ Common Issues About Spark/ How Do I Change the Log Level to INFO When Using Spark yarn-client?
Updated on 2025-03-17 GMT+08:00
How Do I Change the Log Level to INFO When Using Spark yarn-client?
Question
How do I change the log level to INFO when using Spark yarn-client?
Answer
- Log in to the Spark client node and change the value of Log4j.rootCategory in the {Client installation directory}Spark/spark/conf/log4j.properties configuration file to INFO.

- Restart the spark-sql client.
Parent topic: Common Issues About Spark
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.