ERROR StatusLogger No Log4j 2 configuration file found

terms of settlement:

In IntelliJ idea:

    in SRC – & gt; Create a new folder resources under main create a new log4j2.xml file

    <?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>

Read More: