Log rewriting errors.