Quantcast
Channel: Azure – leastprivilege.com
Viewing all articles
Browse latest Browse all 39

Logging Output of Azure Startup Tasks to the Event Log

$
0
0
This can come in handy when troubleshooting: using System; using System.Diagnostics; using System.Text;   namespace Thinktecture.Azure {     class Program     {         static EventLog _eventLog = new EventLog(“Application”, “.”, “StartupTaskShell”);         static StringBuilder _out = new StringBuilder(64);         static StringBuilder _err = new StringBuilder(64);           … Continue reading

Viewing all articles
Browse latest Browse all 39

Trending Articles