diff --git a/eureka-core/src/main/java/com/netflix/eureka/resources/ApplicationsResource.java b/eureka-core/src/main/java/com/netflix/eureka/resources/ApplicationsResource.java index 5ae4b33fa1..175fe8db9a 100755 --- a/eureka-core/src/main/java/com/netflix/eureka/resources/ApplicationsResource.java +++ b/eureka-core/src/main/java/com/netflix/eureka/resources/ApplicationsResource.java @@ -43,6 +43,8 @@ import com.netflix.eureka.registry.ResponseCacheImpl; import com.netflix.eureka.registry.Key; import com.netflix.eureka.util.EurekaMonitors; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * A jersey resource that handles request related to all @@ -54,6 +56,7 @@ @Path("/{version}/apps") @Produces({"application/xml", "application/json"}) public class ApplicationsResource { + private static final Logger logger = LoggerFactory.getLogger(ApplicationsResource.class); private static final String HEADER_ACCEPT = "Accept"; private static final String HEADER_ACCEPT_ENCODING = "Accept-Encoding"; private static final String HEADER_CONTENT_ENCODING = "Content-Encoding"; @@ -161,6 +164,7 @@ public Response getContainers(@PathParam("version") String version, .build(); } CurrentRequestVersion.remove(); + logger.debug("Sent registry information to client."); return response; }