Updated code found from Paul

Updated the Logger and PromotedResultsHelper class from code found by
Paul.