Error Logging in Cache
When running a cache, error messages can be helpful. These messages can be saved in a log file if required. Enabling error logging generates logs that specify log levels NORMAL, INFO, and DEBUG. Logging is enabled by default. Errors are reported in the application's Event Log-in system.
You can manually edit config.ncconf and client.ncconf located at %NCHOME%\config. These files can be edited through any text editor of your choice.
Note
%NCHOME%
is the NCache install directory.
Important
In case you want to update any cache settings, please refer to the Update Cache Config section.
Enable/Disable logs through config.ncconf file located at %NCHOME%\config. In config.ncconf of EACH server specify the <logging>
tag under the <cache-settings>
tag:
<cache-config>
<cache-settings ...>
<logging enable-logs="True" trace-errors="True" trace-debug="False" log-path=""/>
</cache-settings>
</cache-config>
Note
Repeat this step for all server nodes.
See Also
General Cache Settings
Cache Cluster Settings
Eviction Policy