added raw log support