Refs #275 - Replaces debug logging that fails when pass an iterable object.