If you are running into any issues with In-Role (Role-based) Windows Azure Cache, you can have the diagnostic data ready before you contact Windows Azure Support at Microsoft for help.
Here's the relevant MSDN document that describes how to enable client-side and server-side cache logging.
In-Role Cache Troubleshooting and Diagnostics
The table below shows the required configuration settings and startup code; to have the cache diagnostics enabled and transferred to the storage account.
Server: Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel; value=1/2/3/ 4
Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel; value=1/2/3/ 4
Role start-up code
Logs to storage
public override bool OnStart()
DiagnosticMonitorConfiguration dmConfig =
// Configure the collection of cache diagnostic data.
Once the diagnostics are enabled and issue has been reproduced, please download the tool from the link below that would help you collect the cache logs from the configured storage account.
Windows Azure In-Role Cache WAD Logs
Here's the KB that will help you with step by step instructions for the tool.
Information collected by the tool:
Location of cache diagnostic data in WAD storage
Windows Event Logs
Diagnostic files collected in the package for Azure In-role cache
.zip file for all client trace files for In-role cache
.zip file for all crash dumps files for In-role cache
.zip file for all event log files for In-role cache
.zip file for all PerfMon logs for In-role cache
.zip file for all Server logs for In-role cache