better log parser