Cache Client Logs
NCache also provides logging for client applications and socket level by configuration options. These options are disabled by default, but they can be enabled by changing settings of app/web files. These logs are created into a default location where NCache logs are saved. These logs contain information on client operations and also usage data of operations propagated through the socket server to communicate with a remote server. It is reported in the application's Event Log-in system.
Enable Client Logs
To enable client logs, set the
The log levels 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. The 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 the cache such as information about each operation like key, and cache items during state transfer. This log information is useful to analyze cache issues in details whenever normal debugging is not possible and drilling any hidden issue. But this causes performance degradation for cache operations. Monitor NCache Using PerfMon<cache enable-client-logs="true"
log-level="error">
</cache>
See Also
Windows Event Logs
Cache Server Logs