log query summary