Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : Number of Log Files to Keep (-numlogfiles)
 

Number of Log Files to Keep (-numlogfiles)

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 LogThreshold (-logthreshold) startup parameter to specify the file size at which OpenEdge renames and saves log files.
Use the ClientLogging (-clientlog) startup parameter to specify a log file name for ABL clients.
Use the DataServerLogging (-dslog) startup parameter to specify a log file name for server context of a DataServer client or agent.
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 OpenEdge Development: ABL Reference.