WebSetLogMaxLines Function

Action

Specifies the maximum number of header or data lines to write to the log per session.

Include file

WebAPI.bdh

Syntax

WebSetLogMaxLines(in nLogFlags : number,
                  in nMaxLines : number): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
nLogFlags

Can be a combination of the following constants:

  • WEB_LOG_REQUEST_DATA

  • WEB_LOG_RESPONSE_DATA

nMaxLines Maximum number of lines per session to write to the log

Example

dcltrans
  transaction TInit
  begin
    WebSetLogMaxLines(WEB_LOG_REQUEST_DATA | WEB_LOG_RESPONSE_DATA, 10);
  end TInit;