infrastructure (interfaces) to allow logging of query statistics from the TAP service front-end