better format for query log with values