29 lines
1.2 KiB
XML
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>
|