Log state correctly.