Azure 应用服务日志流链接对于某些用户来说不正确:logStream-quickstart

问题描述 投票:0回答:1

Azure 应用服务的日志流适用于某些用户,但不适用于其他用户。我注意到日志流的链接显示在 Azure 应用服务边栏选项卡上的两个不同位置,并且根据其显示位置具有不同的 URL。两个用户都是订阅的贡献者 + 所有者(由应用服务继承)。这并不特定于特定的应用程序服务。

错误的日志流

常规/日志流下。 [刀片位置图片]。 enter image description here 关联: https://portal.azure.com/?feature.msaljs=true#@company.onmicrosoft.com/resource/subscriptions/%7Bsubscription%7D/resourceGroups/%7BresourceGroup/providers/Microsoft.Web/sites/%7BappServiceName% 7D/logStream-快速入门

这不显示日志。

工作日志流

监控/日志流下。 [刀片位置图片]。 enter image description here

链接: https://portal.azure.com/?feature.msaljs=true#@company.onmicrosoft.com/resource/subscriptions/%7Bsubscription%7D/resourceGroups/%7BresourceGroup/providers/Microsoft.Web/sites/%7BappServiceName% 7D/logStream

这将按预期显示日志。同样的行为适用于所有应用服务。

注意区别在于链接的最后部分:logStreamlogStream-quickstart。有什么想法为什么会有所不同以及我可以为它不起作用的用户做些什么吗?

azure logging azure-web-app-service
1个回答
0
投票

即使我发现付费订阅和免费订阅的用户界面有所不同。

免费试用订阅:

在这里您可以看到应用程序在“监控”部分下有“日志流”选项。

enter image description here

付费订阅:

对于付费订阅,您可以看到该选项位于您提到的“常规”部分。

enter image description here

  • 最初两个日志显示相同。

enter image description here

  • 启用应用程序日志记录并更改应用程序服务日志部分中的日志级别(对于任何 UI)。

enter image description here

我可以看到两个订阅 UI 的日志。

输出: enter image description here

enter image description here

据我所知,问题不在于 Azure。

© www.soinside.com 2019 - 2024. All rights reserved.