问题描述

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

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”,设置一个可以显示文件的最大数值就可以了。

 

 

 

参考资料

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

 

推荐阅读

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。