stopldtplog ()
Stop ldtplogging
If a log file has been previously opened for logging, that file pointer will be closed. So that the new logging will not be appened to the log file.