I cannot get Log4j 2 to log to the console. Nothing is showing up when running with gradle.

log4j2.xml in the projects root directory:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;Configuration status="ALL"&gt;
    &lt;Appenders&gt;
        &lt;Console name="Console" target="SYSTEM_OUT"&gt;
            &lt;PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/&gt;
        &lt;/Console&gt;
    &lt;/Appenders&gt;
    &lt;Loggers&gt;
        &lt;Root level="all"&gt;
            &lt;AppenderRef ref="Console"/&gt;
        &lt;/Root&gt;
    &lt;/Loggers&gt;
&lt;/Configuration&gt;


Usage in my classes:

public class ABCHandler {
    private final Logger logger = LogManager.getLogger();

    public ABC(String serialPortName) {
        logger.info("Opening serial port {}", serialPortName);
    }
}



Question: Where is my power going?
Answer: If you have a well, you could have a water leak, dripping faucet, or wiring problem with your well pump.   Well pumps generally run on a fairly short cycle, and infrequently, but a relatively small leak can cause the pump to run significantly more.