Cache Server Logs
Another feature provided by NCache is logging different states of clustered, client, caches into different log files. These log files are created whenever cache starts and are logged until cache changes its status to stop. Log files encapsulate different level of information based on logging status.
NCache creates each log file for particular cache with different time span. This time initializes as cache starts and continues until cache status changes from running to stopped. NCache writes log file with default format that gives user a readable format. It also logs thread name whenever an operation is performed by any running thread. NCache presents different stages of logging. These logging level are configurable and are described as follows:
INFO: Info level describes some useful information about any operation performed on cache, such as log starting and stopping state of state transfer operations. Info level is disabled by default.
ERROR: This log flag gives the cause of errors that are raised during operation execution. This status log is useful in most of troubleshooting scenarios such as during start of cache exception which occurs for joining with its own replica.
DEBUG: This flag is disabled by default but the user can configure it. This log option prints detailed information about any operations in cache such as information of each operation like key, cache items during state transfer. This log information is useful to analysis cache issues in details whenever normal debugging is not possible and drilling any hidden issue. But this causes performance degradation for cache operations.
See Also
Monitor NCache Using PerfMon
Windows Event Logs
Cache Client Logs