>I don't remember receiving this error with the previous version of log4j.
>Do I need to do something different?

Maybe you should try an earlier version of Log4j and verify this statement. I'm guessing you'll get the same behavior. Try adding debug="true" to your <log4j:configuration> below. Also, you probably shouldn't use <priority>. Use <level> only.

Jake


At 05:30 PM 12/3/2003 -0500, you wrote:
Hello all,

I am receiving the following error message from log4j.


WARNING: CORE3283: stderr: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). WARNING: CORE3283: stderr: log4j:WARN Please initialize the log4j system properly.


I have placed log4j-1.2.8.jar in the WEB-INF/lib directory and have placed the following log4j.xml in my WEB-INF/classes directory:


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

<log4j:configuration xmlns:log4j="  <http://jakarta.apache.org/log4j/>
http://jakarta.apache.org/log4j/";>
    <appender name="ConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
        <layout class="org.apache.log4j.SimpleLayout"/>
    </appender>
    <logger name="ct">
        <level value="DEBUG"/>
    </logger>
    <root>
        <priority value ="WARN" />
        <appender-ref ref="ConsoleAppender"/>
    </root>
</log4j:configuration>


I don't remember receiving this error with the previous version of log4j. Do I need to do something different?

Thanks,

Joshua



This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.


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



Reply via email to