Couple of changes to fix the attributes on Logger, and to make the Element processContents less strict.

Couple of changes to fix the attributes on Logger, and to make the Element processContents less strict.