From 7b2afbdf13a494be2408ad47b5fea771cb5f1b8b Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 8 Dec 2015 10:26:44 +0100 Subject: [PATCH] Polish --- .../boot/actuate/endpoint/mvc/LogFileMvcEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LogFileMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LogFileMvcEndpoint.java index 716b143b15e..e2b36b7d928 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LogFileMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LogFileMvcEndpoint.java @@ -130,7 +130,7 @@ public class LogFileMvcEndpoint implements MvcEndpoint, EnvironmentAware { } FileSystemResource resource = new FileSystemResource(logFile.toString()); if (!resource.exists()) { - if (logger.isWarnEnabled()) { + if (logger.isDebugEnabled()) { logger.debug("Log file '" + resource + "' does not exist"); } return null;