parse before log