beginning of start/stop logging json api command