Logging When Using Azure VMSS
When deploying NCache Cloud using Azure VMSS, logging is available at both the infrastructure and application levels. These logs help in monitoring system behavior, troubleshooting issues, and analyzing operational activities.
After connecting to an instance, you can access NCache logs from the following directory: %NCHOME%\log-files (Windows). In addition to the standard NCache logs, three additional log files are created in the Azure deployment environment:
Dashboard Logs
- These logs record the initialization and lifecycle of monitoring dashboards for NCache caches.
- Logs the start of event processing when a new cache (e.g., 'demo1' or 'demoClusteredCache') is created.
- Confirms when dashboards are successfully added for a specific cache instance.
- Tracks the removal of dashboard configurations when a cache is stopped or deleted.
Startup Logs
- These logs document the end-to-end initialization process of the NCache instance during the Azure startup sequence.
- Tracks IP updates and the collection of VM metadata/tags from Azure services.
- Records the successful registration of the VM with NCache licensing.
- Logs the stopping and starting of core NCache services, including the NCache Service (
ncachesvc), Bridge Service (nbridgesvc), and Execution Service (ncexecutionsvc). - Monitors the creation of the NCache cluster and reports errors if no other nodes are available to join.
- Confirms the successful start of the cache and the installation/initialization of the Telegraf monitoring agent
Patch Logs
- These logs provide a detailed audit trail of the automated Operating System patching process and NCache version information.
- Tracks the full status of Windows updates through three distinct stages: Accepted, Downloaded, and Installed.
- Logs the installation of specific security patches.
- Logs the temporary removal of node from all its caches before the patch and readded again after patch.
- Detects and logs whether a system reboot is required after updates are applied.
- Monitors repeated scanning cycles (Cycle 1, Cycle 2, etc.) to ensure no further updates are pending before reaching the maximum cycle limit.
These logs are useful for diagnosing issues related to deployment, initialization, and monitoring setup. Together, these logs provide complete visibility into the behavior of your NCache deployment on Azure.