启用后,应用程序日志什么也不显示 [英] Application logs show nothing when enabled

查看:68
本文介绍了启用后,应用程序日志什么也不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello! I've enabled Application logs (Verbose) for .NET Core web app deployed to App Service but the Log stream doesn't display my requests. Did the same for a copy of the application in the same subscription and the Log stream works as expected. Any ideas?

如果我的建议帮助您解决了问题,请不要忘记将其标记为答案

If my suggestion helped you to solve your problem, please don't forget to mark it as Answer

推荐答案

您已配置代码内的应用程序见解以供使用

did you configure Application insights inside your code to use

Microsoft.ApplicationInsights.TraceListener

对诊断日志进行故障排除

如果是,请确认您正在使用检测工具 应用洞察力的关键.

if so verify that you are using the instrumentation key of that application insight.


这篇关于启用后,应用程序日志什么也不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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