.orm.0.0.8.source-code.log4j2.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orm Show documentation
Show all versions of orm Show documentation
ORM - Core Library for Database
<?xml version="1.0" encoding="UTF-8"?> <configuration status="WARN"> <appenders> <RollingFile name="RollingFile" fileName="dbcore.log" filePattern="logs/$${date:yyyy-MM}/dbcore-%d{MM-dd-yyyy}-%i.log.gz"> <PatternLayout> <pattern>%d %p %c{1.} [%t] %m%n</pattern> </PatternLayout> <Policies> <TimeBasedTriggeringPolicy /> <SizeBasedTriggeringPolicy size="100 MB" /> </Policies> </RollingFile> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> </Console> </appenders> <loggers> <logger name="DB_Jdbc" level="DEBUG"> <appender-ref ref="Console" /> </logger> <root level="ERROR"> <appender-ref ref="RollingFile" /> <appender-ref ref="Console" /> </root> </loggers> </configuration>