Add logging for the exec_cli commands