Note that there are some explanatory texts on larger screens.

plurals
  1. POLogging with AppEngine doesn't work (neither in-IDE nor deployed)
    text
    copied!<p>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.</p> <pre><code>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"); </code></pre> <p>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".</p> <p>Things already checked:</p> <ul> <li>appengine-web.xml has &lt;property name="java.util.logging.config.file" value="WEB-INF/logging.properties" /&gt;</li> <li>I also moved logging.properties to the subfolder "classes" and adjusted the settings (saw this as an idea in another question)</li> <li>logging.properties contains only ".level = ALL"</li> <li>on the server changed the minimum log level but still no logs ("Error" is the default level, set it to "Debug")</li> <li>deployed many times</li> <li>let it sit one day</li> <li>checked the deployed version online</li> <li>checked the multiple "Console" windows</li> <li>googled for hours</li> </ul> <p>I'm really lost. Would be grateful if you could give me a hint.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload