Assign correct logger to the rest service
Commented the get method to explain the waiting mechanism