This repository has been archived on 2025-03-13. You can view files and clone it, but cannot push or open issues or pull requests.
2022-12-22 16:22:56 +01:00

29 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN"
strict="true" name="DBMigrationConfig"
xmlns="http://logging.apache.org/log4j/2.0/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://logging.apache.org/log4j/2.0/config
https://raw.githubusercontent.com/apache/logging-log4j2/master/log4j-core/src/main/resources/Log4j-config.xsd">
<Properties>
<Property name="filename">/rv/data/desktop/development/logs/dbm/dbm.log</Property>
</Properties>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n"/>
</Console>
<File name="File" fileName="${filename}">
<PatternLayout pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n"/>
</File>
</Appenders>
<Loggers>
<Logger name="org.nanoboot.dbmigration" level="debug" additivity="false">
<AppenderRef ref="File"/>
<AppenderRef ref="Console"/>
</Logger>
<Root level="debug">
<AppenderRef ref="File"/>
</Root>
</Loggers>
</Configuration>