fixed crash in Log tests