Google App Engine why some Logs are not getting shown?

别来无恙 提交于 2019-12-05 10:41:09

The problem was happening because there is some compatibility issue between 0x and App engine, I was using 0x in start script like this 0x server.js

So, my server.js file with 0x that's why I think it was getting loaded before trace agent, and that's why the error was there I guess.

I was getting below error previously which I have also asked separately in this thread here

ERROR:@google-cloud/trace-agent: TraceAgent#start: Tracing might not work as the following modules were loaded before the trace agent was initialized: [0x]

But I just thought it will not cause issues for Google Cloud Logging, but the thing is when I removed this module and from the start script the issue was resolved.

Well I think

Google must change this error and should also mention Google Cloud Logging in the error, otherwise if someone is also using 0x with app engine they will also face issues resolving these kinds of errors.

If you believe it's a compatibility issue, then you can go to our Issue Tracker and open a feature request to have it fixed. Please provide all the details on the 0x module so we can figure out why it's not working.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!