Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2488

Wrong warning in HeritrixController.requestCrawlstart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Heritrix 3
    • None

    Description

      The code

      if (jobResult.job.crawlControllerState.equals(CrawlControllerState.NASCENT)) {
                        log.info("The H3 job {} in now in state CrawlControllerState.NASCENT",  jobName);
                      } else {
                        log.warn("The job state is now {}. Should have been CrawlControllerState.NASCENT",  jobResult.job.crawlControllerState);
                      }
      

      results in spurious logentries like

      The job state is now NASCENT. Should have been CrawlControllerState.NASCENT
      

      The CrawlControllerState enum is defined https://github.com/netarchivesuite/heritrix3-wrapper/blob/master/src/main/java/org/netarchivesuite/heritrix3wrapper/Heritrix3Wrapper.java

      Attachments

        Issue Links

          Activity

            People

              svc Søren Vejrup Carlsen (Inactive)
              svc Søren Vejrup Carlsen (Inactive)
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: