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

ogic.fred.client.fred-client-config.2.0.3-RELEASE.source-code.log4j.xml Maven / Gradle / Ivy

The 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="fileAppender" class="org.apache.log4j.FileAppender">
        <param name="file" value="${user.home}/fred-client/fred-client-log4j.log"/>
        <param name="append" value="false" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %-5p %c{1} - %m%n"/>
        </layout>
    </appender>

    <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>

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

    <logger name="org.springframework.web.client">
        <level value="file"/>
        <appender-ref ref="fileAppender"/>
    </logger>

    <logger name="httpclient.wire">
        <level value="debug"/>
        <appender-ref ref="fileAppender"/>
    </logger>

    <logger name="com.coherentlogic.fred.client.core.services">
        <level value="warn"/>
        <appender-ref ref="fileAppender"/>
    </logger>

    <logger name="org.hibernate">
        <level value="info"/>
        <appender-ref ref="fileAppender"/>
        <appender-ref ref="consoleAppender"/>
    </logger>

    <logger name="org.hibernate.SQL">
        <level value="info"/>
        <appender-ref ref="fileAppender"/>
        <appender-ref ref="consoleAppender"/>
    </logger>

    <logger name="org.hibernate.type.descriptor.sql">
        <level value="info"/>
        <appender-ref ref="fileAppender"/>
        <appender-ref ref="consoleAppender"/>
    </logger>

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

</log4j:configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy