Log result of the command executed