diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java index 65ce2f70d3..6ae378fe6e 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java @@ -108,7 +108,7 @@ public class ApplicationPidFileWriter implements writePidFile(event); } catch (Exception ex) { - logger.warn(String.format("Cannot create pid file %s", this.file)); + logger.warn(String.format("Cannot create pid file %s", this.file), ex); } } }