This sample displays what's going on in your app. It dumps the environment and lots more.
See the Google App Engine standard environment documentation for more detailed instructions.
Use either:
gcloud initgcloud auth application-default logingcloud components update
NOTE - There is no local Metadata server, so local running isn't available. It is possible to setup an Emulator.
$ mvn clean package appengine:deploy