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

ogic.gama.client.gama-client-core.1.0.0-RELEASE.source-code.log4j.xml Maven / Gradle / Ivy

There is a newer version: 2.0.3-RELEASE
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="consoleAppender" class="org.apache.log4j.ConsoleAppender">
        <param name="Target" value="System.out"/>
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %-5p %c{1} - %m%n"/>
        </layout>
    </appender>
    <appender name="fileAppender" class="org.apache.log4j.RollingFileAppender">
       <param name="append" value="false" />
       <param name="maxFileSize" value="200mb" />
       <param name="maxBackupIndex" value="2" />
       <param name="file" value="${user.home}/cl-gama-client/cl-gama-client.log" />
       <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" 
            value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" />
       </layout>
    </appender>

    <logger name="net.coherentlogic.gama.client">
        <level value="info"/>
        <appender-ref ref="fileAppender"/>
    </logger>

    <root>
        <priority value ="info" />
        <appender-ref ref="fileAppender"/>
    </root>
</log4j:configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy