updated log parser