Skip to content

Commit dda9094

Browse files
committed
Making this message more prominent since processing stops on the page and unless you have the level to debug you will not know why.
1 parent e6a70d5 commit dda9094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Abot/Crawler/WebCrawler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ protected virtual bool PageSizeIsAboveMax(CrawledPage crawledPage)
780780
crawledPage.Content.Bytes.Length > _crawlContext.CrawlConfiguration.MaxPageSizeInBytes)
781781
{
782782
isAboveMax = true;
783-
_logger.DebugFormat("Page [{0}] has a page size of [{1}] bytes which is above the [{2}] byte max", crawledPage.Uri, crawledPage.Content.Bytes.Length, _crawlContext.CrawlConfiguration.MaxPageSizeInBytes);
783+
_logger.InfoFormat("Page [{0}] has a page size of [{1}] bytes which is above the [{2}] byte max, no further processing will occur for this page", crawledPage.Uri, crawledPage.Content.Bytes.Length, _crawlContext.CrawlConfiguration.MaxPageSizeInBytes);
784784
}
785785
return isAboveMax;
786786
}

0 commit comments

Comments
 (0)