core/apiRouter: add logging of query parameters