I have the default log4j.properties in the root of my src folder
(which is then copied to the war/WEB-INF/classes folder
automatically).

I have this in my appengine-web.xml:
        <system-properties>
                <property name="java.util.logging.config.file" value="WEB-INF/
logging.properties"/>
                <property name="log4j.configuration" value="WEB-INF/classes/
log4j.properties"/>
        </system-properties>

If I do this:
Logger logger = Logger.getRootLogger();
logger.warn("Testing!");

then I get this:
log4j:WARN No appenders could be found for logger (root).
log4j:WARN Please initialize the log4j system properly.

Any suggestions?

Thanks,

Andy

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to