change log level
This commit is contained in:
parent
f2a8275e8c
commit
660c309ea4
1 changed files with 3 additions and 1 deletions
|
@ -146,7 +146,9 @@ public class WebDriverGenerator extends BaseThumbnailGenerator {
|
|||
if (webDriver instanceof JavascriptExecutor) {
|
||||
Dimension dim = webDriver.findElement(By.tagName("body")).getSize();
|
||||
if (dim.height >= fessConfig.getThumbnailHtmlPhantomjsMaxHeightAsInteger()) {
|
||||
logger.warn("Skpped Thumbnail generation " + dim + " for " + url);
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("Skpped Thumbnail generation " + dim + " for " + url);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue