logging nearest neighbor for each request