SVI
SVI

Reputation: 1651

System.Diagnostics.Trace.WriteLine in windows azure

When I use System.Diagnostics.Trace.WriteLine in my Azure development, how long is that information stored. Does it get wiped out when a worker role or web role is recycled?

Upvotes: 0

Views: 659

Answers (1)

user94559
user94559

Reputation: 60143

If you're using Windows Azure Diagnostics to push that data on a schedule to table storage, it's stored forever (until you delete it).

If you're not pushing the data to storage, it lives until the circular buffer fills up on the local disk or the role instance is restarted.

If you're not running Diagnostics at all, then it just disappears into the ether. :)

Upvotes: 2

Related Questions