in Education by
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 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. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Problem solved: When using Google App Engine SDK: java.util.logging.Logger log = java.util.logging.Logger.getLogger("Test"); log.severe("severe"); works fine in the Console and on the Google server. When using Google Web Toolkit: java.util.logging.Logger log = java.util.logging.Logger.getLogger("Test"); log.severe("severe"); works in the server part and outputs to the console. For the client part include in (modulename).gwt.xml and (using the same logging command) it will output to the console and a small window in the browser. But no technique works in onModuleLoad(). This seems to be a blind area. When using GAE+GWT: the same as GWT alone. Problem why I didn't see anything: trying in onModuleLoad and/or not restarting the hosting server correctly I think. Thanks to Boris for hinting in the right direction. Also see GWT logging setup and http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html

Related questions

0 votes
    ............ are neither completely military forces nor completely civil forces. (a) Border Security Forces (b) ... Coast Guards (d) Home Guards Please answer the above question....
asked Aug 16, 2022 in Education by JackTerrance
0 votes
    State whether the following statements are true or false with reasons. Absolute equality is neither possible nor desirable. Please answer the above question....
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    A card is drawn at random from a pack of 52 cards. Find the probability that the card drawn is: (i) spade or an ... an ace (v) a ten Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    A card is drawn at random from a well-shuffled pack of 52 cards. Find the probability that the drawn card is ... king nor a queen. Select the correct answer from above options...
asked Nov 23, 2021 in Education by JackTerrance
0 votes
    In a single throw of two dice, find the probability that neither a doublet nor a total of 9 will appear. Select the correct answer from above options...
asked Nov 22, 2021 in Education by JackTerrance
0 votes
    A card is drawn at random from a well - shuffled pack of 52 cards. Find the probability that the drawn card is ... a king nor a queen. Select the correct answer from above options...
asked Nov 17, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
0 votes
    Two dice are thrown together. What is the probability that the sum of the numbers on the two faces si neither divisible by 3 nor by 4? Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
    Here's a code snippet. . . Yes No Clearly, what I'm trying to do is call the routine linked to ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    (This post isn't helpful) I'm using this code in onCreateOptionsMenu to enable/disable menu items in a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 26, 2022 in Education by JackTerrance
...