Re: [appengine-java] log4j init fails

2010-03-12 Thread Rajeev Dayal
Can you post a copy of your log4j.properties file? On Thu, Mar 11, 2010 at 12:45 PM, AJ Chen wrote: > yes, log4j.properties is copied by the build. the app uses it. the warning > message is weird. thanks. > > > On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal wrote: > >> If you have your log4j.p

Re: [appengine-java] log4j init fails

2010-03-11 Thread AJ Chen
yes, log4j.properties is copied by the build. the app uses it. the warning message is weird. thanks. On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal wrote: > If you have your log4j.properties file at the root of your source tree, it > should automatically be copied over to war/WEB-INF/classes wh

Re: [appengine-java] log4j init fails

2010-03-11 Thread Rajeev Dayal
If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to war/WEB-INF/classes whenever Eclipse performs a build of your project; you should not have to copy it over manually. I'm not sure why you're getting the error with regard to Datanucleu

Re: [appengine-java] log4j init fails

2010-03-11 Thread AJ Chen
I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright wrote: > I think you can simply put the log4j.properties file

Re: [appengine-java] log4j init fails

2010-02-19 Thread Rusty Wright
I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file "on the classpath" which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen

[appengine-java] log4j init fails

2010-02-18 Thread AJ Chen
I have log4j config in appengine-web.xml, but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj