mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-22 13:47:02 +00:00
ExtractLinksBehavior and PaginationBehavior took the UriErrorLoggerModule as a constructor argument, so they had to be Spring beans to get it. That meant the Groovy config couldn't create them inline in the behaviors list, as Spring's Groovy reader doesn't turn inner beans in a list into beans, and had to declare each one as a named bean and refer to it. BrowserProcessor already has the logger module, so it now passes it to behaviors through the page and they can be plain objects.