功能应用日志/控制台是不是很有气质? [英] Function App logs/console being temperamental?

查看:41
本文介绍了功能应用日志/控制台是不是很有气质?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


所以我正在开发一个功能应用程序,当我尝试使用以下按钮运行功能应用程序时:



有时日志/控制台会显示我的输出类似于visual studio,为您提供有关发生的任何错误的信息,应用程序是否已成功等,但大多数情况下,无论多少次点击运行
按钮,日志/控制台都将为空白,有时这个错误弹出窗口可能有关系吗?如果有人有任何建议,将非常感激:)。


解决方案

嗨凯尔,


我也遇到过这样的问题。我建议您按照预期运行该功能后,将其配置为记录App洞察中的所有内容,然后您可以检查其中的日志。这很可靠。您还可以查看日志流选项
,您可以在其中实时查看实时请求的日志。 


查看此链接:  https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring



Hi everyone,

So i'm working on a function app and when I try to run the function app using the following button:

Sometimes the log/console will show me the output similar to visual studio giving you information on any errors occured, whether the app has succeded, etc, but most of the time the logs/console will be blank regardless of however many times I click the run button, sometimes this error pop ups which could be related? If anyone has any advice it would be very appreciated :).

解决方案

Hi Kyle,

I also face such issues. I would recommend you that once you get the function running as per the expectation, configure it to log everything in App insights and then you can check the logs there. This is reliable. also you can check log streaming option where you can check the logs of a live request in real time. 

Check out this link: https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring


这篇关于功能应用日志/控制台是不是很有气质?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆