Cache Level Configurations
Following are the cache level configurations in client.ncconf.
<cache id="democache" load-balance="false" enable-client-logs="False" log-level="error">
<server name="20.200.20.29"/>
</cache>
These configuration tags are explained below.
Load Balance
When this flag is set to true, the client tries to connect to the optimum server in terms of the number of connected clients. This way, an almost equal number of clients are connected to every node in the clustered cache, and no single node is overburdened. It is only used for replicated cache and has no effect in mirrored cache.
Client logs
The following are the two types of logs available in NCache Open Source.
Enable Logs
Enabling error logs enables the log generation for the client level. By default, logging is disabled. In case of an error, it is reported in the application's Event Log-in system.
Log Level
Enabling error logging generates WARNING, CRITICAL ERROR, and DEBUG logs.
See Also
Client Node Level
Cache Settings (config.ncconf)
Cache Server Settings (service.exe.config)
Monitor Caches