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 2026-06-27 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 rootLogger.level in the {Client installation directory}Spark/spark/conf/log4j2.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.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot