Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log Failure URL ID in CrawlingAccessException to fess.log #2823

Closed
marevol opened this issue Jun 24, 2024 · 0 comments
Closed

Log Failure URL ID in CrawlingAccessException to fess.log #2823

marevol opened this issue Jun 24, 2024 · 0 comments
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Jun 24, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant