Cache Client Logs
NCache also provides logging for client application and socket level by configurations options. These options are disable by default, but they can be enabled changing settings of app/web files. These logs are created into defaults location where NCache logs are saved. These logs contain information of client operations and also usage data of operations propagate through socket server to communicate with remote server. It is reported in the application's Event Log in system.
In order 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. 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. Monitor NCache Using PerfMon<cache enable-client-logs="true"
log-level="error">
</cache>
See Also
Windows Event Logs
Cache Server Logs