All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oceanbase-table-client.log.log4j.log-conf.xml Maven / Gradle / Ivy

There is a newer version: 1.2.13.1
Show newest version
<?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>

    <appender name="OCEANBASE-TABLE-CLIENT-DIRECT-APPENDER"
              class="com.alibaba.common.logging.spi.log4j.DailyRollingFileAppender">
        <param name="file" value="${logging.path}/oceanbase-table-client/oceanbase-table-client-direct.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>

    <logger name="OBKV-DIRECT" additivity="false">
        <level value="${logging.level}"/>
        <appender-ref ref="OCEANBASE-TABLE-CLIENT-DIRECT-APPENDER"/>
    </logger>


</log4j:configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy