modify parser for query log