add log message for CANONICAL
This commit is contained in:
parent
f3a253f2b3
commit
c079ca8210
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ public class FessXpathTransformer extends XpathTransformer implements FessTransf
|
|||
if (canonicalUrl != null && !canonicalUrl.equals(responseData.getUrl()) && isValidUrl(canonicalUrl)) {
|
||||
final Set<RequestData> childUrlSet = new HashSet<>();
|
||||
childUrlSet.add(RequestDataBuilder.newRequestData().get().url(canonicalUrl).build());
|
||||
logger.info("CANONICAL: " + responseData.getUrl() + " -> " + canonicalUrl);
|
||||
throw new ChildUrlsException(childUrlSet, this.getClass().getName()
|
||||
+ "#putAdditionalData(Map<String, Object>, ResponseData, Document)");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue