def METHOD_NAME():
    if args.log_only:
        log.info("Monitor process")
        try:
            client = cavstool_client(HOST, PORT, args)
            client.send_cmd(CMD_LOG_START)
        except KeyboardInterrupt:
            pass
    else:
        log.info("Uploading process")
        client = cavstool_client(HOST, PORT, args)
        client.send_cmd(CMD_DOWNLOAD)