Added logging. refs #457