spring-cloud-consul icon indicating copy to clipboard operation
spring-cloud-consul copied to clipboard

log.debug bug

Open herocsl opened this issue 7 months ago • 0 comments

class: org.springframework.cloud.consul.serviceregistry.ConsulServiceRegistry.java

line103:

log.debug(LogMessage.format(
					"Set status for service with consul: %s, status %s, response %s" + registration.getInstanceId(),
					status, response));

error detail:

curl -X POST http://localhost:8080/actuator/serviceregistry \
                               -H "Content-Type: application/json" \
                               -d '{"status":"OUT_OF_SERVICE"}'

java.util.MissingFormatArgumentException: Format specifier '%s'

herocsl avatar May 03 '26 08:05 herocsl