Tommy He
Tommy He

Reputation: 25

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.

Upvotes: 1

Views: 1029

Answers (1)

Tony Ju
Tony Ju

Reputation: 15609

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.

enter image description here

Upvotes: 1

Related Questions