Log more information from assertion failures