Use Number of Log Files to Keep (-numlogfiles) to specify the total number of rolled over log files to keep on disk at any one time, across OpenEdge sessions, including the current log file.

Operating system and syntax UNIX / Windows -numlogfiles n
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session 3 3
n

The number of log files to keep. Valid values are:

  • 0—This means there is no limit on the number of log files to keep.
  • 2 or greater—The default is 3.

    If you specify a value of 1, a run-time error occurs and the OpenEdge process terminates.

Use the Log Threshold (-logthreshold) startup parameter to specify the file size at which OpenEdge renames and saves log files.

Use the Client Logging (-clientlog) startup parameter to specify a log file name for ABL clients.

Use the DataServer Logging (-dslog) startup parameter to specify a log file name for server context of a DataServer client.

You also can use the NUM-LOG-FILES attribute on the LOG-MANAGER system handle to specify the number of log files to keep. For more information, see ABL Reference.