The tool is Intellij Idea
The
The
- in SRC – & gt; So I’m going to go under main and I’m going to go under resources and I’m going to go under resources and I’m going to go under log4j2.xml
The file contents of log4j2.xml are as follows
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="com.opensymphony.xwork2" level="info"/>
<Logger name="org.apache.struts2" level="info"/>
<Logger name="org.demo.rest" level="debug"/>
<Root level="warn">
<AppenderRef ref="STDOUT"/>
</Root>
</Loggers>
</Configuration>
And then it’s ok
Read More:
- ERROR StatusLogger No Log4j 2 configuration file found
- About error statuslogger no log4j2 configuration file found
- IntelliJ idea startup error: error statuslogger log4j2 could not find a logging implementation
- When using exe4j to generate exe executable file from jar, no JVM could be found on your system exception appears
- @In slf4j log.info Compile error: cannot find symbol log
- In idea, @ slf4j is used to report an error, but log is not found
- Nginx error log (error_ Log) configuration and information explanation
- log4j:ERROR
- Configuration: error: no acceptable C compiler found in $path error in Linux installation file
- Error: no mail configuration found…
- Eclipse cannot import org.apache.log4j .Logger
- Problems with vue project installation No ESLint configuration found
- Configuration: error: no acceptable C compiler found in $path
- After modifying the Tomcat configuration file in development, the modified configuration file will be automatically restored after ecplise starts Tomcat
- Eclipse startup error: an error has occurred.See the log file E:\workspace\.metadata\.log.
- Configuration error in mybatis configuration file
- [Solved] JMeter Save Testing File Error: Error loading results file – see file log
- Failed startup of context o.e.j.w WebAppContext@532aaf8a {/admin,file:/D:/Develop/activeM
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.