view artifacts/doc/conf/log4j2.xml @ 9730:7f8110eed9a3 3.2.x

Simplify server logging defaults Just log to console which is more appropriate e.g. for use with `docker logs'.
author Tom Gottfried <tom@intevation.de>
date Tue, 12 Jul 2022 16:34:28 +0200
parents 0a5239a1e46e
children 432934cda171
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" additivity="false"/>
        <Logger name="net.sf.ehcache" level="WARN" additivity="false"/>
        <Logger name="org.eclipse" level="WARN" additivity="false"/>
        <Logger name="org.restlet" level="INFO" additivity="false"/>
    </Loggers>
</Configuration>

http://dive4elements.wald.intevation.org