Add logging to subset of fleetctl commands; deduplication of unit submission code