I understand, but could the line be split another way like this :
final String message = String.
format("ServiceManagement: Service Attempted to Proxy, but is not allowed. Service: [%s] | Registered Service: [%s]",
service.getId(), registeredService.toString()); ?