Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Logging in OpenEdge : Log files : Clearing the log file
Clearing the log file
You can clear messages from the current log file and leave the log file open for writing using the following methods:
*The Clear Log (-clearlog) startup parameter
*The CLEAR-LOG( ) method on the LOG-MANAGER system handle
Note: This method is valid only for interactive or batch clients.
*The srvrLogAppend and related properties in the file with OpenEdge Management or OpenEdge Explorer
The following table shows how to clear the log file.
Table 27. Clearing the log file
General syntax
Startup parameter
-clientlog mylog.log -clearlog
LOG-MANAGER system handle
OpenEdge Management or OpenEdge Explorer, or files
logAppend = 0|1
brkrLogAppend= 0|1
For a detailed description of the Clear Log (-clearlog) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference.
For a detailed description of the LOG-MANAGER system handle, see OpenEdge Development: ABL Reference.