view backend/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 0a5239a1e46e
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
    <Appenders>
        <RollingFile
            name="RollingFile"
            fileName="import.log"
            filePattern="import.log.%i">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c - %m%n"/>
            <SizeBasedTriggeringPolicy size="100000 KB"/>
            <DefaultRolloverStrategy max="10"/>
        </RollingFile>
    </Appenders>
    <Loggers>
        <Root level="DEBUG">
            <AppenderRef ref="RollingFile"/>
        </Root>
    </Loggers>
</Configuration>

http://dive4elements.wald.intevation.org