Hi,
i tried to configure log4j to give me debug messagess of my application only
The same configuration works fine outside of tapestry: however in t4 i
receive all the debug messages from hibernate, tapestry etc, even if they
are set to error.
If i set the priority to error for the root, i don't see any message (except
errors) even for my application.
When i set it to debug, all the hibernate etc message come up.
Any idea what am i doing wrong?

Attached the log4j.xml in use:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/";
debug="false">
        <appender name="console" class="org.apache.log4j.ConsoleAppender">
                <layout class="org.apache.log4j.PatternLayout">
                        
                </layout>
        </appender>

        <appender name="rolling" class="org.apache.log4j.RollingFileAppender">
                
                
                
                
                
                <layout class="org.apache.log4j.PatternLayout">
                        
                </layout>
        </appender>

        <logger name="org.appl">
                <level value="debug"/>
        </logger>

        <logger name="org.apache.hivemind">
                <level value="error"/> 
        </logger>

        <logger name="org.hibernate">
                <level value="error"/> 
        </logger>

        <logger name="org.apache.tapestry">
                <level value="error"/> 
        </logger>

        <root>
                <priority value="debug"/>
                <appender-ref ref="console"/>
                <appender-ref ref="rolling"/>
        </root>

</log4j:configuration>

-- 
View this message in context: 
http://www.nabble.com/-T4--log4j-issue-tf4354455.html#a12407927
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to