NUM-LOG-FILES attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The number of rolled over log files to keep on disk at any one time, for ABL session, including the current log file.
Data type: INTEGER
Access: Read-only
Applies to: DSLOG-MANAGER system handle, LOG-MANAGER system handle
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.
The NUM-LOG-FILES attribute corresponds to the Number of
Log Files to Keep (-numlogfiles) startup parameter.
For ABL clients, use the LOG-THRESHOLD attribute of the
LOG-MANAGER or the Log Threshold (-logthreshold) startup parameter to specify the file size at which OpenEdge
rolls over (renames and saves) log files.
For DataServers, use the Log Threshold (-logthreshold) startup parameter to specify the file size at which the DataServer
context will roll over (renames and saves) its log files when using self-service clients or
ProBroker.
For more information about the Number of Log Files to Keep (-numlogfiles) and Log Threshold (-logthreshold) startup parameters, see Startup Command and
Parameter Reference, Use the Microsoft SQL Data
Server, and Troubleshoot ABL Applications.