Logging

Version 22.0.8500


Logging

Version 22.0.8500


Web Server Logs

Web server logs can help in diagnosing connectivity problems as well as problems related to the web server itself.

Accessing Server Logs

To access the server logs for the stand-alone server:

Note: If you are hosting the API Server on another server, for example, IIS or a Java servlet container, refer to your web server’s documentation for the location of the web server logs.

  1. Right-click the CData API Server icon in the Windows system tray and then click Server Options. Startups, shutdowns, and HTTP requests made to the API Server are logged on the Service tab.
  2. On the Other tab in the Log Mode menu, you can adjust the granularity of these logs to include other types of server data.
  3. To obtain a log file, select the option to write the log to a file and enter a path in the File box. By default, the log file is written to the installation directory. When run as a service, the API Server writes web server logs to a service.log file.
  4. Select any needed log rotation options.

Application Logs

Application-level logs consist of requests made to the application’s resources and any errors that are encountered by the application. The general error log and the access log can help you troubleshoot configuration errors and problems when sending and receiving.

Application errors are prefixed with Application and contain any error messages that may have been encountered by the application during transfers. Access logs are prefixed with Access and contain details of any HTTP requests that were processed by the application.

Application and access logs are displayed in the Status section. The logs can be downloaded by clicking Download Log File and specifying the history.