简体   繁体   English

在Azure门户中的何处查找日志信息

[英]Where to find log information in Azure portal

I have the following code about logging and the log data is stored in Azure somewhere. 我有以下有关日志记录的代码,日志数据存储在Azure的某个地方。 Probably in azure storage account. 可能是在Azure存储帐户中。 The following is the code: 以下是代码:

private readonly TelemetryClient telemetryClient = new TelemetryClient();
private readonly ILogger logger;
logger = new TraceLogger(telemetryClient);
logger.LogError("Exception in TestService");

Now I tried searching for the "Exception In TestService" log in azure but I cannot find where it is. 现在,我尝试以天蓝色搜索“ TestService中的异常”日志,但是找不到它的位置。 I have searched the storage account, blob containers and found nothing. 我搜索了存储帐户,blob容器,却一无所获。 Any suggestion on where I should find this information on azure. 关于我应该在哪里找到关于天蓝色的信息的任何建议。

It seems that you are using Azure Application Insights . 似乎您正在使用Azure Application Insights If so, you can get the data collected by Application Insights on Azure portal. 如果是这样,您可以在Azure门户上获取Application Insights收集的数据。 Refer to this document for more details. 有关更多详细信息,请参阅此文档

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM