Configure API Logging
This feature is only available in NCache Enterprise Edition.
NCache Client Side API Logging is a diagnostic feature which logs all NCache API calls made by an application. This is a configurable logging mechanism that creates several log files. The purpose of API logging is to identify which API and its sequences cause the problem, so that problem can be reproduced easily at user’s end.
For more detail on API logging please refer to the Client Side API Logging section. It also explains how to configure API Logging using configurations.
In order to enable and configure API logging using NCache Web Manager, follow the steps below.
Launch NCache Web Manager by browsing to
<server-ip>:8251(Windows + Linux).
From the top right corner, select the . It opens up a new page dispalying various settings. From the left tree select Monitor Settings.
A page loading monitor settings opens up. Go to the API Logging section. Update the Maximum Number of Logs which is used to configure the maximum number of logs to be displayed in monitoring console. In order to use the default settings select the Use Default option.
- You can specify the time duration for which the API Logging will stay enabled. After this duration API Logging stops.
- In order to enable file logging, you need to check the File Logging checkbox. On checking, a textbox appears asking for the path where log files will be generated. Specify the path or use default path (C:\Program Files\NCache\log-files\NCacheMonitor\API Logs) by clicking the Use Default button.
- Once all settings are configured, click Apply.