Including better fallback case for event log writing.