split query logging from connection pool logging