Log queries that filters and reads the lines