improvement: query audit logging