-1

I deployed an Java application on GAE and now I'm finding the way to view application log on GAE.

I read this guide: Reading and Writing Application Logs

but it doesn't work. I want to view my application log on Stackdriver Logging on Google Cloud Platform screen like below:

Stackdriver Logging

Does anyone configure to show application log on GAE. Could you suggest me a solution ?

My configuration:

  1. appengine-web.xml

src\main\webapp\WEB-INF\appengine-web.xml

  1. logging.properties

logging.properties

  1. Write log code using: I'm using private static final java.util.logging.Logger logger = java.util.logging.Logger.getLogger(CategoryResource.class.getName());

My code

Community
  • 1
  • 1
Felix Tran
  • 11
  • 2

1 Answers1

1

The documentation you listed literally does exactly what you want. It surfaces the logs in the log viewer on your Google Cloud Console. I have confirmed that it still works.

Please read this part carefully and see if you are still not able to find the logs.

If that's still the case, provide us with your full code on how you setup the logging to include all the steps in the documentation. If the steps are followed, it should work.

Ying Li
  • 2,500
  • 2
  • 13
  • 37