Close the log file
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
You can stop writing messages to the current log file,
and close the current log file by using the CLOSE-LOG( ) method on
the LOG-MANAGER system handle.
Note: This method is only valid for interactive or batch clients. For
the PAS for OpenEdge agent log, the log file closes when the server shuts down.
The following table shows how to close the log file.
| Method | General syntax | Example |
|---|---|---|
LOG-MANAGER system handle |
|
|
For a detailed description of the LOG-MANAGER system handle, see ABL Reference. This
method is not available to the server context of DataServers via the DSLOG-MANAGER system handle due to the multi-user nature of the open log file for
DataServers