#716 provided scope for Jersey
#716 better logging