is azure diagnostics only available through code? -


is azure diagnostics implemented through code? windows has event viewer various types of information can accessed. asp.net websites have trace.axd file @ root can viewed trace information.

i thinking similar might exist in azure. however, based on following url, azure diagnostics appears require custom code implementation:

https://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/#overview

is there easier, more built-in way access azure diagnostics described other systems above? or custom worker role need created capture , process information?

azure worker roles have extensive diagnostics can configure up.

you them via role configuration:

role configuration

then, through various tabs, can configure specific types of diagnostics , have them periodically transferred table storage account later analysis.

diagnostics configuration

you can enable transfer of application specific logs, handy , use avoid having remote service view logs:

diagnostics configuration - log directories

(here, transfer files under approot\logs folder blob container named wad-processor-logs, , every minute.)

if go through tabs, find have ability extensively monitor quite bit of detail, including custom performance counters.

finally, can connect cloud service via server explorer, , dig same information:

server explorer

right-click on instance, , select view diagnostics data.

diagnostics summary

(a recent deployment, not see)

so, yes, can access event logs, iis logs , custom application logs without writing custom code. additionally, can implement custom code capture additional performance counters , other trace logging if wish.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -