[英]Azure App Service Diagnostics Logs Application Logging Blob Storage URL Not Found 404
In my Azure App Service, I enabled Diagnostics Logs > Application Logging (Blob) and pointed to a Blob Storage Account. 在我的Azure App Service中,我启用了“诊断日志”>“应用程序日志记录(Blob)”,并指向一个Blob存储帐户。 Like below.
像下面。
And I also enabled Application Insight logging in the same App Service. 我还在同一App Service中启用了Application Insight日志记录。 But, in the application insight logging, I am seeing some error.
但是,在应用程序洞察日志记录中,我看到了一些错误。 It looks like below.
如下图所示。
It seems, sometimes writing data from App Service to the Azure Blob Storage failed because it can't find the URL, hence it sends 404. The actual request / command showed in the image is: 似乎有时将数据从App Service写入Azure Blob存储失败,因为它找不到URL,因此发送404。图像中显示的实际请求/命令是:
https://myqalogs.blob.core.windows.net:443/my-qa-api-applogs/my-qa-api/2017/08/18/04/fc0efb-4524.applicationLog.csv?se=2037-08-16T11%3A32%3A01Z&sp=rwdl&sr=c&sv=2015-04-05&sig=QgSajcdke6PSzbqYizwJdCRuK2V37Jk2dA0v49hiBrs%3D&api-version=2014-02-14&comp=blocklist&blocklisttype=Committed https://myqalogs.blob.core.windows.net:443/my-qa-api-applogs/my-qa-api/2017/08/18/04/fc0efb-4524.applicationLog.csv?se=2037- 08-16T11%3A32%3A01Z& SP =&RWDL SR = C&SV = 2015年4月5日&SIG = QgSajcdke6PSzbqYizwJdCRuK2V37Jk2dA0v49hiBrs%3D&API-版本= 2014年2月14日&排版=块列表&blocklisttype =所犯
But, the content is there. 但是,内容在那里。
I am not sure where to check and how to solve these errors. 我不确定在哪里检查以及如何解决这些错误。 Any help is highly appreciated.
非常感谢您的帮助。
I have also created a test demo on my side. 我还创建了一个测试演示。 I have reproduced this issue.
我已经转载了这个问题。
I guess this is related with how the azure Diagnostics logs works. 我想这与天蓝色的诊断日志的工作方式有关。
If the azure Diagnostics logs wants to log something to the azure blob. 如果天蓝色的诊断日志希望将某些内容记录到天蓝色的blob中。
It will firstly send a get request to get the blob file, then it will send a put request to put the logs to azure blob storage. 它将首先发送获取请求以获取Blob文件,然后将发送放置请求以将日志放入Azure Blob存储中。
You could find the method the azure Diagnostics used is get not put. 您会发现没有使用“天蓝色诊断程序”的方法。
So I think this will not affect your log details information just the azure Diagnostics logs check system. 因此,我认为这不会影响您的日志详细信息,而只会影响Azure诊断日志检查系统。
Like this image: 喜欢这张图片:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.