Fix debug logging
Fix an issue where debug logging never occurred because it was guarded incorrectly using isWarnEnabled(). Fixes gh-1780
This commit is contained in:
parent
e1894c1c4b
commit
57a4cb1aee
|
|
@ -66,7 +66,7 @@ public abstract class AbstractEmbeddedServletContainerFactory extends
|
|||
file = file != null ? file : getExplodedWarFileDocumentRoot();
|
||||
// Or maybe there is a document root in a well-known location
|
||||
file = file != null ? file : getCommonDocumentRoot();
|
||||
if (file == null && this.logger.isWarnEnabled()) {
|
||||
if (file == null && this.logger.isDebugEnabled()) {
|
||||
this.logger.debug("None of the document roots "
|
||||
+ Arrays.asList(COMMON_DOC_ROOTS)
|
||||
+ " point to a directory and will be ignored.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue