如何存储LogFiles/Application文件夹中的文件 [英] how to store files from the LogFiles/Application folder
问题描述
当前,LogFiles/Application下的文件仅存储几天.这些包含console.log类型的消息,对于查找错误等非常有用.
Currently, the files under LogFiles/Application are only stored for a couple days. These contain console.log type messages and are useful for finding errors etc.
是否有一种方法可以将这些文件存储/归档的时间更长,以便我可以回头查看它们(如果需要)?理想情况下,最好查看几个月前的文件.
Is there a way to store/archive these files for longer so I can go back and look at them if needed? Ideally it would be nice to view files from a couple months ago.
我找不到有关如何执行此操作的文档.
I was unable to find documentation on how to do this.
感谢您的帮助.
推荐答案
您可以为AAS配置诊断日志记录,并将您的存储帐户链接到存储日志.要了解有关诊断日志记录的更多信息,请参阅此文档:
You can configure diagnostic logging for AAS and link your storage account to store logs. To read more about diagnostic logging, please refer this doc :
https://docs.microsoft.com/zh-CN/azure/analysis-services/analysis-services-logging
https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-logging
希望这会有所帮助.
Hope this helps.
这篇关于如何存储LogFiles/Application文件夹中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!