I have an application that uses the System.Diagnostics.Trace and System.Diagnostics.EventLog classes to generate the logging information of the application.
I know that it is possible to configure an Azure role to automatically save the information stored by System.Diagnostics.Trace into Azure Storage.
I want to know if there is something I can do to get the same behavior with the System.Diagnostics.EventLog (change some configuration in the Azure role and have the EventLog data stored to Azure Storage).
Regards
For diagnostics trace, you need to:
Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListenerin your web.configLogs.ScheduledTransferPeriodis setupFor event log tracing, you need to configure the diagnostics to trace the Application event logs:
For full instructions see http://blog.bareweb.eu/2011/01/beginning-azure-diagnostics/