fixes #5565
Merge pull request #5574 from dotCMS/issue-5565-additional-logging-needed-in-ResourceCollectorUtil

fixes #5565