> -----Original Message-----
> From: KARR, DAVID (ATTSI)
> Sent: Wednesday, May 25, 2011 6:28 PM
> To: log4j-user@logging.apache.org
> Subject: Getting "Could not find root logger information" but I don't
> see why
> 
> Using log4j 1.2.16 in WebLogic 10.3.2.
> 
> While my app is starting up, I'm seeing the following message:
> 
> Log4JInitServlet is initializing log4j
> Initializing log4j with: ...\my.ear\my.war\WEB-INF/log4j.xml
> log4j: Could not find root logger information. Is this OK?

Never mind.  This is the message you would see when you try to call 
PropertyConfigurator on a log4j.xml file.  Brain damage repaired.

> This is the log4j.xml file it's reading:
> -----------------
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE log4j:configuration SYSTEM
> "http://jakarta.apache.org/log4j.dtd";>
> <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
>     <appender name="consoleAppender"
> class="org.apache.log4j.ConsoleAppender">
>         <layout class="org.apache.log4j.TTCCLayout"/>
>     </appender>
>     <logger name="org.springframework" additivity="false">
>         <level value="warn"/>
>         <appender-ref ref="consoleAppender"/>
>     </logger>
>     <logger name="org.apache.cxf" additivity="false">
>         <level value="warn"/>
>         <appender-ref ref="consoleAppender"/>
>     </logger>
>     <root>
>         <priority value ="warn" />
>         <appender-ref ref="consoleAppender"/>
>     </root>
> </log4j:configuration>
> -----------------
> 
> I don't see anything wrong with this.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to