“log_close” closes the current log file (if one is open).
log_close
log | log_open | cmd.log_close | commands