Browse Source

Remove System.out usage from Jetty GracefulShutdown

See gh-39360
pull/39389/head
Onur Kagan Ozcan 2 years ago committed by Moritz Halbritter
parent
commit
0df3ec2ef3
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java

@ -36,6 +36,7 @@ import org.springframework.util.ReflectionUtils; @@ -36,6 +36,7 @@ import org.springframework.util.ReflectionUtils;
* Handles Jetty graceful shutdown.
*
* @author Andy Wilkinson
* @author Onur Kagan Ozcan
*/
final class GracefulShutdown {
@ -99,7 +100,6 @@ final class GracefulShutdown { @@ -99,7 +100,6 @@ final class GracefulShutdown {
while (this.shuttingDown && this.activeRequests.get() > 0) {
sleep(100);
}
System.out.println(this.activeRequests.get());
this.shuttingDown = false;
long activeRequests = this.activeRequests.get();
if (activeRequests == 0) {

Loading…
Cancel
Save