amework.framework-persistence-jdbc.4.2.1809.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 framework-persistence-jdbc Show documentation
Show all versions of framework-persistence-jdbc Show documentation
定义了一组和core兼容的表结构,并用先腾jdbc实现了表的增删改查
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="info" monitorInterval="1800"> <properties> <property name="LOG_HOME">/D/Projects/RunData/webim_home/logs</property> <property name="FILE_NAME">mylog</property> </properties> <Appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> </Console> <RollingRandomAccessFile name="running-log" fileName="${LOG_HOME}/${FILE_NAME}.log" filePattern="${LOG_HOME}/$${date:yyyy-MM}/${FILE_NAME}-%d{yyyy-MM-dd}-%i.log.gz"> <PatternLayout pattern="%date{yyyy-MM-dd HH:mm:ss.SSS} %level [%thread][%file:%line] - %msg%n" /> <Policies> <TimeBasedTriggeringPolicy /> <SizeBasedTriggeringPolicy size="10 MB" /> </Policies> <DefaultRolloverStrategy max="20" /> </RollingRandomAccessFile> <File name="log" fileName="${LOG_HOME}/test.log" append="false"> <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> </File> </Appenders> <Loggers> <Logger name="com.centit.im" level="trace" additivity="false"> <AppenderRef ref="running-log" /> </Logger> <Root level="info"> <AppenderRef ref="running-log" /> <AppenderRef ref="Console" /> </Root> </Loggers> </Configuration>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy