Add log to check command sending