trying to get logging on command missing better