We need to enhance the logging functionality in our application to output the ID of the failed URL in the fess.log file whenever a CrawlingAccessException occurs. This change will help in quickly identifying and diagnosing issues related to specific URLs during the crawling process.
Changes Made:
- Modified
FailureUrlService.java to return the FailureUrl object after storing it.
- Updated
CrawlerLogHelper.java to log the FailureUrl ID when a CrawlingAccessException occurs.