Logging
Version 23.0.9145
Version 23.0.9145
Logging
Web Server Logs
Web server logs can help diagnose connectivity problems as well as problems related to the web server.
Accessing Server Logs
To access server logs for the stand-alone server:
- Right-click the CData API Server icon in the Windows system tray, then click Server Options. Startups, shutdowns, and HTTP requests made to API Server are logged on the Service tab.
- Use the Other tab on the Log Mode menu to adjust the granularity of the logs to include other types of server data.
- To obtain a log file, select the option to write the log to a file and enter a path in the File field. By default, the log file is written to the installation directory. When run as a service, API Server writes web server logs to a service.log file.
- Select any log rotation options you need.
Note: If you are hosting API Server on another server (for example, on IIS or a Java servlet container), refer to your web server’s documentation for the location of the web server logs.
Accessing 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. Download the logs by clicking Download Log File and specifying the date range.