Friday, 13 April 2012

Enable logging for java application in Google App Engine in order to use console

Configuring java.util.logging in appengine-web.xml is not enough.
You have to specify a log level for your package. For example:

/war/WEB-INF/logging.properties
# Set the default logging level for all loggers to WARNING
.level = WARNING
com.rudakovsky.smoke.server.level = INFO

Rolling back your Google App Engine deployment

If you failed to deploy your app to GAE successfully (i.e. lost connection while uploading) you can recover it using a rollback option:

java -cp "<path_to_jar>\appenginetools-api.jar" com.google.appengine.tools.admin.AppCfg rollback "<path_to_project>\war"

then enter your email and password



After that you can try to deploy your app once again.

Sunday, 1 April 2012

Timezone GAE issue

Failed to start Google App Engine in Eclipse after updating java to 1.7 - timezone issue. Returned to java 1.6