Reduce logging level for non-critical warning
This commit is contained in:
parent
b824d6309a
commit
adbbc35944
|
|
@ -34,6 +34,7 @@ import org.springframework.util.StringUtils;
|
||||||
* Logs application information on startup.
|
* Logs application information on startup.
|
||||||
*
|
*
|
||||||
* @author Phillip Webb
|
* @author Phillip Webb
|
||||||
|
* @author Dave Syer
|
||||||
*/
|
*/
|
||||||
class StartupInfoLogger {
|
class StartupInfoLogger {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -313,7 +313,7 @@ public abstract class AbstractEmbeddedServletContainerFactory implements
|
||||||
file = file != null ? file : getWarFileDocumentRoot();
|
file = file != null ? file : getWarFileDocumentRoot();
|
||||||
file = file != null ? file : getCommonDocumentRoot();
|
file = file != null ? file : getCommonDocumentRoot();
|
||||||
if (file == null && this.logger.isWarnEnabled()) {
|
if (file == null && this.logger.isWarnEnabled()) {
|
||||||
this.logger.warn("None of the document roots "
|
this.logger.debug("None of the document roots "
|
||||||
+ Arrays.asList(COMMON_DOC_ROOTS)
|
+ Arrays.asList(COMMON_DOC_ROOTS)
|
||||||
+ " point to a directory and will be ignored.");
|
+ " point to a directory and will be ignored.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue