log in case assert is failing