You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

There is an option available that allows collecting usage statistics in logs. To enable logging of requests, you need to perform the steps described in this guide.

1. Configure the direct connection between the product that you integrated into you web app and Application Server (AppServer) to enable the collecting of statistics in a log file. Visit the Setting up Direct Connection with AppServer guide to enable the direct connection.

2. Open the AppServerX.xml configuration file for editing. Before making any changes in the AppServerX.xml file, it is recommended to stop AppServer.

3. Change the default value of AppServer Parameters#EnableRequestStatistic from false to true to enable saving requests statistics.

<EnableRequestStatistic>true</EnableRequestStatistic>

4. In the RequestStatisticFilePath tag specify a path to a log file where AppServer will record the information about requests that it processes.

<RequestStatisticFilePath>Logs/RequestStatistic.log</RequestStatisticFilePath>

Make sure that a directory and a new file for statistics logs has proper permissions set that allows not only reading the file but also writing to it.

5. Start AppServer to apply your changes.

  • No labels