<?xml version="1.0" encoding="ISO-8859-1"?><!--
    @author VxR <vxr@vxr.it>
    @version $Revision: 1.3 $
    @since 0.3
-->
<log4php:configuration xmlns:log4php="http://www.vxr.it/log4php/" threshold="all" debug="false">
    <appender name="default" class="LoggerAppenderEcho">
        <layout class="LoggerLayoutTTCC">
            <param name="threadPrinting" value="true" />
            <param name="categoryPrefixing" value="true" />
            <param name="contextPrinting" value="true" />
            <param name="microSecondsPrinting" value="true" />
        </layout>
    </appender>

    <appender name="test" class="LoggerAppenderDb">
        <param name="dsn" value="mysql://localhost/test" />
        <param name="createTable" value="true" />
        <param name="table" value="log4php" />
        <param name="sql" value="INSERT INTO log4php (timestamp, logger, level, message, thread, file, line) VALUES ('%d','%c','%p','%m','%t','%F','%L')" />
    </appender>
    
    <root>
        <level value="all" />
        <appender_ref ref="default" />        
        <appender_ref ref="test" />
    </root>
</log4php:configuration>
