Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 编程 » HTTP Web 服务 » 使用 Web 客户端访问 Web 服务

 

如何记录 Web 客户端请求

可将包括 HTTP 请求和传输数据的 Web 服务客户端信息记录到 Web 服务客户端日志文件中。可使用 -zoc 服务器选项或使用 sa_server_option 系统过程指定 Web 服务客户端日志文件:

CALL sa_server_option( 'WebClientLogFile', 'clientinfo.txt' );

在指定 -zoc 服务器选项时自动启用记录。可以使用 sa_server_option 系统过程启用和禁用记录到此文件:

CALL sa_server_option( 'WebClientLogging', 'ON' );
 另请参见