Do not check for log being enabled on exceptional paths.