Skip to content

Commit 86039f2

Browse files
committed
Merge pull request #39360 from okohub
* pr/39360: Remove System.out usage from Jetty GracefulShutdown Closes gh-39360
2 parents 899da78 + 0df3ec2 commit 86039f2

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* Handles Jetty graceful shutdown.
3737
*
3838
* @author Andy Wilkinson
39+
* @author Onur Kagan Ozcan
3940
*/
4041
final class GracefulShutdown {
4142

@@ -99,7 +100,6 @@ private void awaitShutdown(GracefulShutdownCallback callback) {
99100
while (this.shuttingDown && this.activeRequests.get() > 0) {
100101
sleep(100);
101102
}
102-
System.out.println(this.activeRequests.get());
103103
this.shuttingDown = false;
104104
long activeRequests = this.activeRequests.get();
105105
if (activeRequests == 0) {

0 commit comments

Comments
 (0)