Can I access w3c style logs when using firebase hosting

穿精又带淫゛_ 提交于 2019-12-01 15:39:04

问题


I am using firebase hosting and would like access to w3c style internet access logs for the traffic going to my domain. Is this possible?

Thanks.


回答1:


No.

Disclosure: I work for Firebase.

Firebase's Hosting is most often used for single-page applications that are built on top of Firebase's realtime database. In such applications, the number of times a static resource is retrieved is not a good indicator of the application's usage. Instead of that, most developers rely on the Firebase dashboard that shows the database usage over time, including the number of concurrent connections, data transfer and data storage.




回答2:


I realize this is a few years old but what the hell... it's saturday. It looks like the preferred pattern would be to move all your API calls and anything else that's error prone into a Firebase function and add a handler there. You can view this log from your Firebase console...



来源:https://stackoverflow.com/questions/29669725/can-i-access-w3c-style-logs-when-using-firebase-hosting

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