Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Logging in OpenEdge : Log files : Closing the log file
Closing the log file
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 WebSpeed or AppServer agents, the log file closes when the broker or server shuts down.
The following table shows how to close the log file.
Table 29. Closing the log file
General syntax
LOG-MANAGER system handle
For a detailed description of the LOG-MANAGER system handle, see OpenEdge Development: 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