logging and like queries with no wildcard