Skip to content

How to create a new log/report for a single class #527

Closed Answered by cgr71ii
cgr71ii asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I've finally got it!

Example of a new log (not report) working: cgr71ii@c9be5b3

Main different I've observed between log and report: logs are updated frequently, reports need to be opened to trigger the update unless that shouldReportAtEndOfCrawl is set to false. I guess that the report goal is to have a file which is totally rewritten, and since we're crawling, we don't want that in order to avoid to slow down the disk operations. Since logs are intended to append text, this is not such a critic problem (hypothesis).

Main steps in order to create a new log:

  1. Add entry in engine/src/main/java/org/archive/crawler/util/Logs.java.
  2. Modify engine/src/main/java/org/archive/crawler/reporting…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cgr71ii
Comment options

@cgr71ii
Comment options

Answer selected by cgr71ii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #501 on September 30, 2022 00:45.