Added logging

Refs #2031