From 3432044997f8f7211ae623b4b5519ef89de4a0cb Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 23 May 2019 11:20:15 +0100 Subject: [PATCH] Use deferred logging to report Class-Path manifest attribute problems Closes gh-16883 --- .../springframework/boot/devtools/restart/ChangeableUrls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java index 97a87e8b78..10b1ed96cd 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java +++ b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -178,7 +178,7 @@ final class ChangeableUrls implements Iterable { } } if (!nonExistentEntries.isEmpty()) { - System.out.println("The Class-Path manifest attribute in " + jarFile.getName() + logger.info("The Class-Path manifest attribute in " + jarFile.getName() + " referenced one or more files that do not exist: " + StringUtils.collectionToCommaDelimitedString(nonExistentEntries)); }