Pure.Krome
Pure.Krome

Reputation: 86987

Is it possible to get a live STREAM of an Azure Work Role Trace?

Scott Hanselman has a great post about streaming an azure -web- role to your console. Love it.

I'm really struggling to figure out how to do this with a WORKER role. Even more distressing is that I'm trying to do this with the newer TraceSource stuff, not the older Trace stuff .. and nothing is working.

Does anyone have any ideas if

  1. Can this even be done (as of the time of posting this)
  2. If so, some instructions on this, please?

Extra reading:
1. Difference between using Trace and TraceSource 2. A Tracing Primer.

Upvotes: 2

Views: 320

Answers (1)

Neil Mackenzie
Neil Mackenzie

Reputation: 2847

Scott Hanselman is demonstrating streaming the log for a Windows Azure Web Sites site NOT a Windows Azure (PaaS) cloud service web role. You can use Windows Azure Diagnostics to capture and persist logs to Windows Azure Blob Storage - and I don't believe there is a built-in way to stream them from there.

Upvotes: 3

Related Questions