Using Eclipse 3.6SR2 and the appropriate Google Plugin I create a new Web Application Project. Everything seems already preconfigured to use java.util.logging.Logger but I see no output, neither in the IDE nor after deploying.
private void sendNameToServer() {
Logger log = Logger.getLogger(TestAppEngine1.class.getName());
log.setLevel(Level.INFO);
log.info("info");
log.severe("severe");
System.out.println("out");
System.err.println("err");
log.log(Level.SEVERE, "severe");
I can only see "out" and "err" in the "Console" window in Eclipe, but not the logs from Logger. After deploying and checking the only logs I see the normal logs e.g. created by long initial load time, but not the Logger logs NOR the "out" or "err".
Things already checked:
- appengine-web.xml has <property name="java.util.logging.config.file" value="WEB-INF/logging.properties" />
- I also moved logging.properties to the subfolder "classes" and adjusted the settings (saw this as an idea in another question)
- logging.properties contains only ".level = ALL"
- on the server changed the minimum log level but still no logs ("Error" is the default level, set it to "Debug")
- deployed many times
- let it sit one day
- checked the deployed version online
- checked the multiple "Console" windows
- googled for hours
I'm really lost. Would be grateful if you could give me a hint.