Clear the log file
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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 theLOG-MANAGERsystem handle
Note: This method is valid only for interactive or batch clients.
The following table shows how to clear the log file.
| Method | General syntax | Example |
|---|---|---|
| Startup parameter |
|
|
LOG-MANAGER system handle |
|
|
For a detailed description of the Clear Log (-clearlog) startup parameter, see Startup Command and
Parameter Reference.
For a detailed description of the LOG-MANAGER system handle, see ABL Reference.