Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
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
- mentioned in
-
Page Loading...