[Logging] Error logging tweaks