简体   繁体   中英

Log4net with azure application insights

I have azure cloud service project with web role and integrate log4netappender with application insights . How to show the logs on azure portal application insights ?

Assuming you're using Application Insights Log4Net Appender , Go to Azure portal , open your application and then click on Search .

在此处输入图片说明

Then, you can filter only your traces.
Clicking on a result will open a new pane on the right with more detailed information like role name, role instance, device model etc.

在此处输入图片说明

You can also use Analytics where you can use the powerful Analytics query language to search, parse, extend new columns over your traces. Just click on the Analytics button, in the same command bar which is shown above, and the Analytics portal would be opened for you. More info can be found in https://azure.microsoft.com/en-us/documentation/articles/app-insights-analytics/

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