简体   繁体   中英

Where to find log information in Azure portal

I have the following code about logging and the log data is stored in Azure somewhere. Probably in azure storage account. 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. I have searched the storage account, blob containers and found nothing. Any suggestion on where I should find this information on azure.

It seems that you are using Azure Application Insights . If so, you can get the data collected by Application Insights on Azure portal. Refer to this document for more details.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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