oceanbase-table-client.log.log4j.log-conf.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obkv-table-client Show documentation
Show all versions of obkv-table-client Show documentation
OceanBase JavaClient for TableApi
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="OCEANBASE-TABLE-CLIENT-APPENDER" class="com.alibaba.common.logging.spi.log4j.DailyRollingFileAppender"> <param name="file" value="${logging.path}/oceanbase-table-client/oceanbase-table-client.log"/> <param name="shouldAsync" value="true" /> <param name="append" value="true"/> <param name="encoding" value="${file.encoding}"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d-%m%n"/> </layout> </appender> <appender name="OCEANBASE-TABLE-CLIENT-BOOT-APPENDER" class="com.alibaba.common.logging.spi.log4j.DailyRollingFileAppender"> <param name="file" value="${logging.path}/oceanbase-table-client/oceanbase-table-client-boot.log"/> <param name="shouldAsync" value="true" /> <param name="append" value="true"/> <param name="encoding" value="${file.encoding}"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d-%m%n"/> </layout> </appender> <appender name="OCEANBASE-TABLE-CLIENT-MONITOR-APPENDER" class="com.alibaba.common.logging.spi.log4j.DailyRollingFileAppender"> <param name="file" value="${logging.path}/oceanbase-table-client/oceanbase-table-client-monitor.log"/> <param name="shouldAsync" value="true" /> <param name="append" value="true"/> <param name="encoding" value="${file.encoding}"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d-%m%n"/> </layout> </appender> <appender name="OCEANBASE-TABLE-CLIENT-RUNTIME-APPENDER" class="com.alibaba.common.logging.spi.log4j.DailyRollingFileAppender"> <param name="file" value="${logging.path}/oceanbase-table-client/oceanbase-table-client-runtime.log"/> <param name="shouldAsync" value="true" /> <param name="append" value="true"/> <param name="encoding" value="${file.encoding}"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d-%m%n"/> </layout> </appender> <logger name="com.alipay.oceanbase.rpc" additivity="false"> <level value="${logging.level}"/> <appender-ref ref="OCEANBASE-TABLE-CLIENT-APPENDER"/> </logger> <logger name="OBKV-BOOT" additivity="false"> <level value="${logging.level}"/> <appender-ref ref="OCEANBASE-TABLE-CLIENT-BOOT-APPENDER"/> </logger> <logger name="OBKV-MONITOR" additivity="false"> <level value="${logging.level}"/> <appender-ref ref="OCEANBASE-TABLE-CLIENT-MONITOR-APPENDER"/> </logger> <logger name="OBKV-RUNTIME" additivity="false"> <level value="${logging.level}"/> <appender-ref ref="OCEANBASE-TABLE-CLIENT-RUNTIME-APPENDER"/> </logger> </log4j:configuration>