better parsing for all log files