Help Center/ MapReduce Service/ Developer Guide (LTS)/ Manager Management Development Guide/ More Information/ FAQ/ An Operation Fails and "log4j:WARN No appenders could be found for logger(basicAuth.Main)" Is Displayed in Logs
Updated on 2022-11-18 GMT+08:00
An Operation Fails and "log4j:WARN No appenders could be found for logger(basicAuth.Main)" Is Displayed in Logs
Question
An application execution fails. Figure 1-6 shows the log information.
Figure 1 Log indicating operation failure
Answer
Check whether the compiled log4j.properties file exists in the bin directory of the project. If it does not, add the compilation path.
- In IntelliJ IDEA, choose File > Project Structure > Modules, and then add the conf folder that contains log4j.properties and UserInfo.properties as Source Folders.
- Compile the file again.
Parent topic: FAQ
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.