view artifacts/doc/conf/log4j2.xml @ 9750:432934cda171 3.2.x

Fix logging setup _ Silence message about missing SLF4J implementation _ Route java.util.logging to Log4J (at least restlet is affected) _ Let messages of additional loggers pass to the root loggers appender (otherwise, they don't appear at all)
author Tom Gottfried <tom@intevation.de>
date Mon, 10 Oct 2022 15:29:44 +0200
parents 7f8110eed9a3
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
    <Appenders>
        <Console name="Console" target="SYSTEM_OUT">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n"/>
        </Console>
    </Appenders>
    <Loggers>
        <Root level="DEBUG">
            <AppenderRef ref="Console"/>
        </Root>
        <Logger name="org.hibernate" level="WARN"/>
        <Logger name="net.sf.ehcache" level="WARN"/>
        <Logger name="org.eclipse" level="WARN"/>
        <Logger name="org.restlet" level="WARN"/>
    </Loggers>
</Configuration>

http://dive4elements.wald.intevation.org