On this page

Show all

Help Center/ MapReduce Service/ Developer Guide (Normal_3.x)/ 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

An Operation Fails and "log4j:WARN No appenders could be found for logger(basicAuth.Main)" Is Displayed in Logs

Updated on 2022-09-14 GMT+08:00

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.

  1. In IntelliJ IDEA, choose File > Project Structure > Modules, and then add the conf folder that contains log4j.properties and UserInfo.properties as Source Folders.
  2. Compile the file again.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback