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
Method
General syntax
Example
LOG-MANAGER system handle
LOG-MANAGER:CLOSE-LOG( )
LOG-MANAGER:CLOSE-LOG( )
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