Hi,

I have a problem using jbuilder 2006. I am trying to run a webapp inside
jbuilder using tomcat 5.5 server.

I have imported source code into jbuilder and this source code includes
log4j logging code. I was getting an error from the server saying:

log4j:WARN No appenders could be found for logger
(org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/WebModule1]).
log4j:WARN Please initialize the log4j system properly.

 I put the log4j.xml file on the plasspath under WEB-INF/classes where
apparently it would work, but it didn't and the same error occurred. 

I then found an example version of a log4j.properties file and put this on
the classpath just to see if jbuilder recognised it. It did, so I tried
rewriting the log4j.xml in .properties format. This was impossible as the
log4j.xml file contains filter information (which isn't supported by
.properties file format).

What I would like to know is is it possible for jbuilder to use a log4j.xml
config file or does it have to be a log4j.properties one? Am i putting the
file in the wrong directory?

Or is there any way to include filter information in .properties file?
-- 
View this message in context: 
http://www.nabble.com/log4j.xml-vs.-log4j.properties-in-Jbuilder-2006-tf3777583.html#a10681786
Sent from the Log4j - Users mailing list archive at Nabble.com.


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

Reply via email to