adding some logging statements

Undo.