Skip to content

Commit b4c8b2f

Browse files
committed
changed log message for root redirection
1 parent b180271 commit b4c8b2f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Abot/Crawler/WebCrawler.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,11 +1047,9 @@ protected virtual void ValidateRootUriForRedirection(CrawledPage crawledRootPage
10471047

10481048
if (IsRedirect(crawledRootPage)) {
10491049
_crawlContext.RootUri = ExtractRedirectUri(crawledRootPage);
1050-
_logger.InfoFormat("The root URI [{0}] was redirected to [{1}]. Pages from domains [{2}] and [{3}] will be considered internal.",
1050+
_logger.InfoFormat("The root URI [{0}] was redirected to [{1}]. [{1}] is the new root.",
10511051
_crawlContext.OriginalRootUri,
1052-
_crawlContext.RootUri,
1053-
_crawlContext.RootUri.Authority,
1054-
_crawlContext.OriginalRootUri.Authority);
1052+
_crawlContext.RootUri);
10551053
}
10561054
}
10571055

0 commit comments

Comments
 (0)