【Azure 应用服务】App Service 进入后台管理(Kudu)页面,因为文件过多而显示不全的问题 - LuBu0505/My-Code GitHub Wiki

问题描述

当App Service 应用发布到Azure上后,需要查看某一个日志文件时候,如果一个文件夹中的文件内容过多,则会出现错误消息提醒: No alt text provided for this image

Full error Message:

There are xxx items in this directory, but maxViewItems is set to 299\. You can increase maxViewItems by setting it to a larger value in localStorage.

问题解决

  • 按 F12 按钮,进入浏览器的开发者工具(如 Chrome)。
  • 选择 Console ,输入命令“window.localStorage['maxViewItems'] = 1000”,设置一个可以显示文件的最大数值就可以了。 No alt text provided for this image

参考资料

Kudu 的 Debug Console 窗口如何查看更多文件:https://docs.azure.cn/zh-cn/articles/azure-operations-guide/app-service-web/aog-app-service-web-howto-view-more-files

当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!

分类: 【Azure 应用服务】

标签: window.localStorage['maxViewItems']文件过多而显示不全App Service