Clears all messages existing in the current client log file and leaves the file open for writing.
If the CLEAR-LOG( ) method successfully clears the open log file, it returns TRUE.
If the CLEAR-LOG( ) method fails, it returns FALSE and displays a warning message indicating the reason for the failure.
If there is no client log file, the CLEAR-LOG( ) method returns FALSE and displays a warning message that the operation is not valid when there is no log file.
If you specified a log file threshold with either the Log Threshold (
-logthreshold) startup parameter or the
srvrLogThreshold property in the
ubroker.properties file, the CLEAR-LOG( ) method deletes any existing log files that match the name of the
LOGFILE-NAME attribute, the Client Logging (
-clientlog) startup parameter, or the DataServer Logging (
-dslog) startup parameter. The method then re-creates and opens the first log file in the sequence and changes the
LOGFILE-NAME attribute to reflect this.