added logging to predictionrestserviceimpl