简体   繁体   中英

what is the scope of usefulness of gae nginx logs?

I'm trying to debug a 502 error that I'm getting with a deployed GCP app. I was perusing the associated logs and I came across the nginx logs for the GAE. It appears to log that 502 errors occurred, along with symptom information like latency in seconds. For example, the following logs show that a 502 error occurred, along with the associated latency (over 4 minutes in this case):

https://github.com/git-it-2020/random/blob/master/gae_nginx-request%20logs.json

However, at a glance, I'm not able to infer root cause info from these logs? Is this expected? Ie the nginx logs only record that a 502 occurred but aren't really useful for inferring root cause info?

Please refer to this post in Serverfault related to the 502 , is very well explained.

Here you can find all the logs for your app.

If you are working in an flexible environment you can enable the debug .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM